about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-08-26 22:55:54 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2019-08-26 22:55:54 +0000
commit522b99861c897625f4c832dee7ae9b683acb5976 (patch)
treec00824f8e0bbcf06ae69779aa6e217d5f5b54a53
parentada9e5d8f4e56d33e03251820e6e998fb2e57ebb (diff)
downloadlynx-snapshots-522b99861c897625f4c832dee7ae9b683acb5976.tar.gz
snapshot of project "lynx", label v2-9-0dev_3b
-rw-r--r--CHANGES8
-rw-r--r--WWW/Library/Implementation/HTGopher.c8
2 files changed, 7 insertions, 9 deletions
diff --git a/CHANGES b/CHANGES
index 1df68f29..619625ab 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,9 +1,11 @@
--- $LynxId: CHANGES,v 1.1022 2019/08/26 20:23:28 tom Exp $
+-- $LynxId: CHANGES,v 1.1023 2019/08/26 22:55:54 tom Exp $
 ===============================================================================
 Changes since Lynx 2.8 release
 ===============================================================================
 
 2019-08-26 (2.9.0dev.4)
+* revert change to port-handling in 2.9.0dev.3 changes for gophermap (report by
+  Martijn Dekker).
 * add ro.po, update de.po, et.po, tr.po, vi.po from
     http://translationproject.org/latest/lynx
 
@@ -2036,8 +2038,8 @@ Changes since Lynx 2.8 release
   the same effect with the wide-character ncursesw (report by Karl-Heinz
   Weirich) -TD
 * fixes for de.po (Debian #313789, patch by Jens Seidel).
-* add a null pointer check for HTCurSelectedOptionValue in HText_setLastOptionValue()
-  to improve handling of this fragment:
+* add a null pointer check for HTCurSelectedOptionValue in
+  HText_setLastOptionValue() to improve handling of this fragment:
     <FORM><SELECT><OPTION><FORM><SELECT>
   (Alexey Dobriyan).
 * add a null pointer check in HTML_TAB case of HTML_start_element() to handle
diff --git a/WWW/Library/Implementation/HTGopher.c b/WWW/Library/Implementation/HTGopher.c
index 7c60af5e..7c2baebc 100644
--- a/WWW/Library/Implementation/HTGopher.c
+++ b/WWW/Library/Implementation/HTGopher.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTGopher.c,v 1.73 2019/08/25 19:59:48 tom Exp $
+ * $LynxId: HTGopher.c,v 1.74 2019/08/26 22:44:21 tom Exp $
  *
  *			GOPHER ACCESS				HTGopher.c
  *			=============
@@ -442,17 +442,13 @@ static void parse_menu(const char *arg GCC_UNUSED,
 		    if (gtype != GOPHER_DUPLICATE)
 			this_type = gtype;
 
+		    HTSprintf0(&address, "//%s/%c", host, this_type);
 		    if (gtype == GOPHER_HTML) {
 			valid_chars = acceptable_html;
-			HTSprintf0(&address, "//%s:%s/%c",
-				   host,
-				   isEmpty(port) ? "80" : port,
-				   this_type);
 			if (*selector == '/')
 			    ++selector;
 		    } else {
 			valid_chars = acceptable_file;
-			HTSprintf0(&address, "//%s/%c", host, this_type);
 		    }
 
 		    for (r = selector; *r; r++) {	/* Encode selector string */