diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2018-01-18 20:46:53 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2018-01-19 07:21:49 +0100 |
commit | e3bc3272e64f43df34f73c820bf2b3d6ae13117a (patch) | |
tree | 6308e5a08face5c9b71ed807bfd47719ad23fd50 /nonprism/grilo-plugins/local-metadata-crash.patch | |
parent | bf4816a4eed7ba765ce2b24ddc45c923001d030f (diff) | |
download | abslibre-e3bc3272e64f43df34f73c820bf2b3d6ae13117a.tar.gz abslibre-e3bc3272e64f43df34f73c820bf2b3d6ae13117a.tar.bz2 abslibre-e3bc3272e64f43df34f73c820bf2b3d6ae13117a.zip |
nonprism/grilo-plugins: updated to 0.3.5
Diffstat (limited to 'nonprism/grilo-plugins/local-metadata-crash.patch')
-rw-r--r-- | nonprism/grilo-plugins/local-metadata-crash.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/nonprism/grilo-plugins/local-metadata-crash.patch b/nonprism/grilo-plugins/local-metadata-crash.patch deleted file mode 100644 index edc2b6dff..000000000 --- a/nonprism/grilo-plugins/local-metadata-crash.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 85fc7cbf831e914456623a2f7a9efbe81919bf4d Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= <olivier.crete@collabora.com> -Date: Tue, 28 Apr 2015 19:46:54 -0400 -Subject: local-metadata: Ignore sanitization if the whole filename is - blacklisted - -If the whole filename ends up blacklisted, then just take it as-is. - -https://bugzilla.gnome.org/show_bug.cgi?id=748604 - -diff --git a/src/local-metadata/grl-local-metadata.c b/src/local-metadata/grl-local-metadata.c -index adc81f0..45856be 100644 ---- a/src/local-metadata/grl-local-metadata.c -+++ b/src/local-metadata/grl-local-metadata.c -@@ -272,6 +272,13 @@ video_sanitise_string (const gchar *str) - if (*line_end != '\0') { - line_end = g_utf8_find_prev_char (line, line_end); - -+ -+ /* If everything in the string is blacklisted, just ignore -+ * the blackisting logic. -+ */ -+ if (line_end == NULL) -+ return g_strdup (str); -+ - /* After removing substring with blacklisted word, ignore non alpha-numeric - * char in the end of the sanitised string */ - while (g_unichar_isalnum (*line_end) == FALSE && --- -cgit v0.10.2 - |