WebKit Bugzilla
Attachment 343305 Details for
Bug 186907
: [WPE][GTK] Update xdgmime
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-186907-20180621222949.patch (text/plain), 2.12 KB, created by
Michael Catanzaro
on 2018-06-21 20:29:50 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Michael Catanzaro
Created:
2018-06-21 20:29:50 PDT
Size:
2.12 KB
patch
obsolete
>Subversion Revision: 233044 >diff --git a/Source/ThirdParty/ChangeLog b/Source/ThirdParty/ChangeLog >index 21cd2aafa4fe73aef7704dcf4fa192c31c8bbfd6..22f6db2276345cbbd0172861470317ac84122179 100644 >--- a/Source/ThirdParty/ChangeLog >+++ b/Source/ThirdParty/ChangeLog >@@ -1,3 +1,16 @@ >+2018-06-21 Michael Catanzaro <mcatanzaro@igalia.com> >+ >+ [WPE][GTK] Update xdgmime >+ https://bugs.webkit.org/show_bug.cgi?id=186907 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Only one change, fixes https://bugs.freedesktop.org/show_bug.cgi?id=97372. >+ >+ * xdgmime/README.webkit: >+ * xdgmime/src/xdgmimeint.c: >+ (_xdg_binary_or_text_fallback): >+ > 2018-05-22 Ryan Haddad <ryanhaddad@apple.com> > > Unreviewed, rolling out r232052. >diff --git a/Source/ThirdParty/xdgmime/README.webkit b/Source/ThirdParty/xdgmime/README.webkit >index c5bee5ca808a8334dca17c8d76f11619742f5117..ef50f7ab88c552fec334196f125c68c3bfd962fa 100644 >--- a/Source/ThirdParty/xdgmime/README.webkit >+++ b/Source/ThirdParty/xdgmime/README.webkit >@@ -4,7 +4,7 @@ https://cgit.freedesktop.org/xdg/xdgmime/ > xdgmime is the reference implementation of the Freedesktop.org MIME specification: > https://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec/ > >-Current version is based on revision f69fd2528ec0ebdbe48983ad3eabd002de7ba2bd >+Current version is based on revision 9c5802b8da56187c5c6abaf70042d14b12d832a9 > cloned from git://anongit.freedesktop.org/xdg/xdgmime. > > Changes for the WebKit project: >diff --git a/Source/ThirdParty/xdgmime/src/xdgmimeint.c b/Source/ThirdParty/xdgmime/src/xdgmimeint.c >index b469a0d2f19dcb456b9ca8877d9ecc3b1f7e9f66..d8bb47fbc306ee0cac4eb2ff8360053d6f5740bd 100644 >--- a/Source/ThirdParty/xdgmime/src/xdgmimeint.c >+++ b/Source/ThirdParty/xdgmime/src/xdgmimeint.c >@@ -196,7 +196,7 @@ _xdg_binary_or_text_fallback(const void *data, size_t len) > int i; > > chardata = (unsigned char *) data; >- for (i = 0; i < 32 && i < len; ++i) >+ for (i = 0; i < 128 && i < len; ++i) > { > if (chardata[i] < 32 && chardata[i] != 9 && chardata[i] != 10 && chardata[i] != 13) > return XDG_MIME_TYPE_UNKNOWN; /* binary data */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 186907
: 343305