diff options
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | main.c | 4 |
2 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2003-02-26 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03781] Debian Bug report logs - #181897: w3m submits query urls with "extra" + * main.c (_followForm): remove tailling '?' + 2003-02-25 Hironori SAKAMOTO <h-saka@lsi.nec.co.jp> * [w3m-dev-en 00891] Re: w3m 0.4 has been released! @@ -7251,4 +7256,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.764 2003/02/24 16:27:34 ukai Exp $ +$Id: ChangeLog,v 1.765 2003/02/25 16:01:38 ukai Exp $ @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.211 2003/02/18 15:43:25 ukai Exp $ */ +/* $Id: main.c,v 1.212 2003/02/25 16:01:41 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include <signal.h> @@ -3295,6 +3295,8 @@ _followForm(int submit) } if (fi->parent->method == FORM_METHOD_GET) { + if ((p = strchr(tmp2->ptr, '?')) != NULL) + Strshrink(tmp2, (tmp2->ptr + tmp2->length) - p); Strcat_charp(tmp2, "?"); Strcat(tmp2, tmp); loadLink(tmp2->ptr, a->target, NULL, NULL); |