summaryrefslogtreecommitdiff
path: root/www/links/patches
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2008-07-24 01:38:13 +0000
committerbjs <bjs@pkgsrc.org>2008-07-24 01:38:13 +0000
commit814adda36938ab6dfb7f13f3ab12b976fb2f85e6 (patch)
treee818d5c503f5cec83cf17e8c947d8ea6525648b9 /www/links/patches
parent093578d55ba36c872411f70ba4a82b4759acf344 (diff)
downloadpkgsrc-814adda36938ab6dfb7f13f3ab12b976fb2f85e6.tar.gz
update to 2.1pre37. Changes:
Sun Jun 22 17:07:20 cet 2008 mikulas: -dump and -source don't lockup on authentication failure Sat Jun 21 19:58:53 MET 2008 mikulas Accept broken numbers in HTTP code Sat Jun 21 18:00:54 cet 2008 mikulas: Allow '+' in command-line URLs Thu Jun 12 03:34:53 cet 2008 mikulas: Erase clipboard on OS/2 before copying to it - this prevents bugs when copying to/from Mozilla Mon Jun 9 02:34:24 MET 2008 mikulas: Process &#10; and &#9; in form entry "value" attribute Tue Jun 3 00:22:49 CEST 2008 mikulas: Fixed various display glitches with 64-bit big endian systems Sun May 18 21:47:46 CEST 2008 mikulas: Fixed display quirks on Sparc framebuffer console Fixed some quirks on 64-bit big endian systems
Diffstat (limited to 'www/links/patches')
-rw-r--r--www/links/patches/patch-aa24
1 files changed, 3 insertions, 21 deletions
diff --git a/www/links/patches/patch-aa b/www/links/patches/patch-aa
index 576157807f7..2c7bf4a1a00 100644
--- a/www/links/patches/patch-aa
+++ b/www/links/patches/patch-aa
@@ -1,26 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2006/04/20 18:34:07 is Exp $
+$NetBSD: patch-aa,v 1.3 2008/07/24 01:38:13 bjs Exp $
---- session.c.orig Sat Jun 29 21:27:04 2002
+--- session.c.orig 2008-06-21 12:12:07.000000000 -0400
+++ session.c
-@@ -185,7 +185,7 @@ unsigned char *encode_url(unsigned char
- int l = 0;
- for (; *url; url++) {
- if (is_safe_in_shell(*url) && *url != '+') add_chr_to_str(&u, &l, *url);
-- else add_chr_to_str(&u, &l, '+'), add_chr_to_str(&u, &l, hx(*url >> 4)), add_chr_to_str(&u, &l, hx(*url & 0xf));
-+ else add_chr_to_str(&u, &l, '%'), add_chr_to_str(&u, &l, hx(*url >> 4)), add_chr_to_str(&u, &l, hx(*url & 0xf));
- }
- return u;
- }
-@@ -195,7 +195,7 @@ unsigned char *decode_url(unsigned char
- unsigned char *u = init_str();
- int l = 0;
- for (; *url; url++) {
-- if (*url != '+' || unhx(url[1]) == -1 || unhx(url[2]) == -1) add_chr_to_str(&u, &l, *url);
-+ if (*url != '%' || unhx(url[1]) == -1 || unhx(url[2]) == -1) add_chr_to_str(&u, &l, *url);
- else add_chr_to_str(&u, &l, (unhx(url[1]) << 4) + unhx(url[2])), url += 2;
- }
- return u;
-@@ -2047,6 +2047,13 @@ void goto_url_f(struct session *ses, voi
+@@ -2631,6 +2631,13 @@ void goto_url_f(struct session *ses, voi
/* this doesn't send referer */
void goto_url(struct session *ses, unsigned char *url)
{