]> git.pld-linux.org Git - packages/links2.git/blame - links2-js-submit-nodefer.patch
- massive attack s/pld.org.pl/pld-linux.org/
[packages/links2.git] / links2-js-submit-nodefer.patch
CommitLineData
f001cafa
JB
1--- links-2.1pre7/jsint.c.orig Sun Sep 22 10:35:39 2002
2+++ links-2.1pre7/jsint.c Thu Dec 26 03:37:35 2002
3@@ -2471,7 +2471,8 @@
4 if (!form)return;
5
6 u=get_form_url(fd->ses,fd,form,&has_onsubmit);
7- goto_url_f(fd->ses,NULL,u,NULL,fd,form->form_num, has_onsubmit,0);
8+ goto_url_f(fd->ses,NULL,u,NULL,fd,form->form_num, 0 /*has_onsubmit*/,0);
9+ /* disabled has_onsumbit - deferring here prevents submitting form in timeout handler! */
10 mem_free(u);
11 draw_fd(fd);
12 change_screen_status(fd->ses);
This page took 0.028909 seconds and 4 git commands to generate.