Title: [233072] trunk/Source/ThirdParty
Revision
233072
Author
mcatanz...@igalia.com
Date
2018-06-22 00:05:33 -0700 (Fri, 22 Jun 2018)

Log Message

[WPE][GTK] Update xdgmime
https://bugs.webkit.org/show_bug.cgi?id=186907

Reviewed by Carlos Garcia Campos.

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):

Modified Paths

Diff

Modified: trunk/Source/ThirdParty/ChangeLog (233071 => 233072)


--- trunk/Source/ThirdParty/ChangeLog	2018-06-22 06:41:10 UTC (rev 233071)
+++ trunk/Source/ThirdParty/ChangeLog	2018-06-22 07:05:33 UTC (rev 233072)
@@ -1,3 +1,16 @@
+2018-06-22  Michael Catanzaro  <mcatanz...@igalia.com>
+
+        [WPE][GTK] Update xdgmime
+        https://bugs.webkit.org/show_bug.cgi?id=186907
+
+        Reviewed by Carlos Garcia Campos.
+
+        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  <ryanhad...@apple.com>
 
         Unreviewed, rolling out r232052.

Modified: trunk/Source/ThirdParty/xdgmime/README.webkit (233071 => 233072)


--- trunk/Source/ThirdParty/xdgmime/README.webkit	2018-06-22 06:41:10 UTC (rev 233071)
+++ trunk/Source/ThirdParty/xdgmime/README.webkit	2018-06-22 07:05:33 UTC (rev 233072)
@@ -4,7 +4,7 @@
 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:

Modified: trunk/Source/ThirdParty/xdgmime/src/xdgmimeint.c (233071 => 233072)


--- trunk/Source/ThirdParty/xdgmime/src/xdgmimeint.c	2018-06-22 06:41:10 UTC (rev 233071)
+++ trunk/Source/ThirdParty/xdgmime/src/xdgmimeint.c	2018-06-22 07:05:33 UTC (rev 233072)
@@ -196,7 +196,7 @@
   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 */
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to