diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2015-01-24 14:36:40 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2015-01-24 14:37:05 +0000 |
commit | 8595cb4102d547388d0d9e699d10a14f8f7aa71c (patch) | |
tree | cd27e4b710769000b651b9af4db2704a1cd328dd /debian/patches/270_refresh-url.patch | |
parent | Update Vcs-Browser (diff) | |
download | w3m-8595cb4102d547388d0d9e699d10a14f8f7aa71c.tar.gz w3m-8595cb4102d547388d0d9e699d10a14f8f7aa71c.zip |
Integrate Debian changes into 020_debian.patch (closes: #776112)
(debian/patches/*.patch except 010_upstream.patch are merged)
Diffstat (limited to 'debian/patches/270_refresh-url.patch')
-rw-r--r-- | debian/patches/270_refresh-url.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/debian/patches/270_refresh-url.patch b/debian/patches/270_refresh-url.patch deleted file mode 100644 index 5d2d5a5..0000000 --- a/debian/patches/270_refresh-url.patch +++ /dev/null @@ -1,25 +0,0 @@ -Subject: Add support for single quoted meta refresh URL -From: Paul Boekholt <p.boekholt@gmail.com> -Bug: https://sourceforge.net/p/w3m/patches/53/ - ---- w3m.orig/file.c 2007-05-23 17:06:05.000000000 +0200 -+++ w3m/file.c 2008-09-06 08:46:00.000000000 +0200 -@@ -4240,15 +4240,15 @@ getMetaRefreshParam(char *q, Str *refres - while (*q) { - if (!strncasecmp(q, "url=", 4)) { - q += 4; -- if (*q == '\"') /* " */ -+ if (*q == '\"' || *q == '\'') /* " or ' */ - q++; - r = q; - while (*r && !IS_SPACE(*r) && *r != ';') - r++; - s_tmp = Strnew_charp_n(q, r - q); - -- if (s_tmp->ptr[s_tmp->length - 1] == '\"') { /* " -- */ -+ if (s_tmp->ptr[s_tmp->length - 1] == '\"' /* " */ -+ || s_tmp->ptr[s_tmp->length - 1] == '\'') { /* ' */ - s_tmp->length--; - s_tmp->ptr[s_tmp->length] = '\0'; - } |