w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit a146eeb1d2d8d467ba0c6961df60d585f7df531e
parent f4dc5fb72b7ab2b925f0f5b604f7f28822d20f08
Author: ukai <ukai>
Date:   Fri, 10 Jan 2003 16:29:23 +0000

[w3m-dev 03626] Re: relative URL
* url.c (parseURL2): copy if scheme is local or local-cgi
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>

Diffstat:
MChangeLog | 5+++++
Murl.c | 4+++-
2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,5 +1,10 @@ 2003-01-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * [w3m-dev 03626] Re: relative URL + * url.c (parseURL2): copy if scheme is local or local-cgi + +2003-01-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * [w3m-dev 03625] keymap key SEARCH string * main.c (srch): accept command argument (reMark): accept command argument diff --git a/url.c b/url.c @@ -1026,7 +1026,9 @@ parseURL2(char *url, ParsedURL *pu, ParsedURL *current) pu->file = expandName(pu->file); if (current && (pu->scheme == current->scheme || - (pu->scheme == SCM_FTP && current->scheme == SCM_FTPDIR)) + (pu->scheme == SCM_FTP && current->scheme == SCM_FTPDIR) || + (pu->scheme == SCM_LOCAL && + current->scheme == SCM_LOCAL_CGI)) && pu->host == NULL) { /* Copy omitted element from the current URL */ pu->user = current->user;