lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev [2.8.1dev.22] patch0.3: UIPs, help files, --enable-gzip-


From: Leonid Pauzner
Subject: Re: lynx-dev [2.8.1dev.22] patch0.3: UIPs, help files, --enable-gzip-help
Date: Thu, 27 Aug 1998 19:38:13 +0400 (MSD)

> > Known problems:
> > * Garbage lines on link.type=form with PARTIAL_DISPLAY
> > * Download on 'mailto:' is allowed
>                           ^^^^^^^^^^
> Thanks, there is a fix (LYK_DOWNLOAD in mainloop):
this one looks a little bit better:


diff -u old/lymainlo.c ./lymainlo.c
--- old/lymainlo.c      Wed Aug 26 17:27:34 1998
+++ ./lymainlo.c        Thu Aug 27 19:27:20 1998
@@ -5017,6 +5017,10 @@
                                    "lynxprog:", 9)) {
                    HTUserMsg(NO_DOWNLOAD_SPECIAL);

+               } else if (!strncmp(links[curdoc.link].lname,
+                                   "mailto:";, 7)) {
+                   HTUserMsg(NO_DOWNLOAD_MAILTO_LINK);
+
                } else {   /* Not a forms, options or history link */
                    /*
                     *  Follow a normal link or anchor.  Note that
diff -u old/lymessag.h ./lymessag.h
--- old/lymessag.h      Thu Aug  6 05:28:22 1998
+++ ./lymessag.h        Thu Aug 27 17:04:12 1998
@@ -168,6 +168,7 @@
 #define DOWNLOAD_DISABLED "The 'd'ownload command is currently disabled."
 #define NO_DOWNLOAD_INPUT "You cannot download a input field."
 #define NO_DOWNLOAD_MAILTO_ACTION "Form has a mailto action!  Cannot download."
+#define NO_DOWNLOAD_MAILTO_LINK "You cannot download a mailto: link."
 #define NO_DOWNLOAD_COOKIES "You cannot download cookies."
 #define NO_DOWNLOAD_PRINT_OP "You cannot download a printing option."
 #define NO_DOWNLOAD_UPLOAD_OP "You cannot download an upload option."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]