summaryrefslogtreecommitdiff
path: root/www/links/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'www/links/patches/patch-aa')
-rw-r--r--www/links/patches/patch-aa16
1 files changed, 15 insertions, 1 deletions
diff --git a/www/links/patches/patch-aa b/www/links/patches/patch-aa
index c299028fa10..576157807f7 100644
--- a/www/links/patches/patch-aa
+++ b/www/links/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1 2002/09/04 20:47:45 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2006/04/20 18:34:07 is Exp $
--- session.c.orig Sat Jun 29 21:27:04 2002
+++ session.c
@@ -20,3 +20,17 @@ $NetBSD: patch-aa,v 1.1 2002/09/04 20:47:45 wiz Exp $
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
+ /* this doesn't send referer */
+ void goto_url(struct session *ses, unsigned char *url)
+ {
++ char *p;
++ p = url + strlen(url);
++ do {
++ --p;
++ } while (isspace(*p));
++ *++p = 0;
++
+ goto_url_f(ses, NULL, url, NULL, NULL, -1, 0, 1, 0);
+ }
+