Commit Graph

80 Commits

Author SHA1 Message Date
Fumitoshi UKAI
228e3a7915 [w3m-dev 03914] a fragment in the Referer URI
* url.c (otherinfo): strip URI fragment
From: ABE Yuji <cbo46560@pop12.odn.ne.jp>
2003-06-17 18:02:41 +00:00
Fumitoshi UKAI
2294b42faa [w3m-dev 03891] Re: urimethodmap and relative URL
* url.c (parseURL2): copy scheme part into pu->file when SCM_UNKNOWN
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2003-05-10 18:20:29 +00:00
Fumitoshi UKAI
6f87e48d61 [w3m-dev 03875] Re: SSL & compressed stream
* file.c (loadGeneralFile): check t_buf != NULL
* url.c (openURL): don't initialize URLFile here
	(init_stream): 0 clear URLFile
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2003-04-14 03:29:37 +00:00
Fumitoshi UKAI
12723d3c6b [w3m-dev 03873] SSL & compressed stream
* file.c (loadGeneralFile): always update ssl_certificate
* url.c (openURL): initialize URLFile
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2003-04-13 18:36:50 +00:00
Fumitoshi UKAI
e3a9349567 fix typo 2003-03-14 02:07:57 +00:00
Fumitoshi UKAI
7af7c95614 [w3m-dev 03823] Re: etc.c: treatment for "%7E" is added to expandName()
* url.c (parseURL2): file unquote
* etc.c (expandName): revert previous changes
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-03-13 17:47:45 +00:00
Fumitoshi UKAI
e312638d0c [w3m-dev 03730] display decoded URL
* anchor.c (link_list_panel): support DecodeURL
* display.c (make_lastline_link): support DecodeURL
* etc.c (url_unquote_conv): added
* fm.h (DecodeURL): added
* history.c (historyBuffer): support DecodeURL
* indep.c (QUOTE_MAP): added
	(HTML_QUOTE_MAP): added
	(html_quote_char): deleted
	(url_quote): use is_url_quote
	(file_quote): use is_file_quote
	(is_url_safe): deleted
	(Str_form_quote): use is_url_unsafe
	(Str_url_unquote): add safe args
	(is_shell_safe): delete
	(shell_quote): use is_shell_unsafe
* indep.h (QUOTE_MAP): added
	(HTML_QUOTE_MAP): added
	(HTML_QUOTE_MASK): added
	(SHELL_UNSAFE_MASK): added
	(URL_QUOTE_MASK): added
	(FILE_QUOTE_MASK): added
	(URL_UNSAFE_MASK): added
	(GET_QUOTE_TYPE): added
	(is_html_quote): added
	(is_shell_unsafe): added
	(is_url_quote): added
	(is_file_quote): added
	(is_url_unsafe): added
	(html_quote_char): added
	(html_quote_char): deleted
	(Str_url_unquote): added safe
	(form_unquote): Str_url_unquote changes
* linein.c (_prev): support DecodeURL
	(_next): ditto
* main.c (goURL0): support DecodeURL
	(_peekURL): ditto
	(curURL): ditto
* map.c (follow_map_panel): support DecodeURL
	(append_map_info): ditto
	(append_link_info): ditto
	(append_frame_info): ditto
	(page_info_panel): ditto
* menu.c (initSelectMenu): delete SCM_LOCAL_CGI
		support DecodeURL
	(initSelTabMenu): delete SCM_LOCAL_CGI
		support DecodeURL
	(link_menu): support DecodeURL
* parsetagx.c (parse_tag): is_html_quote
* proto.h (url_unquote_conv): added
* rc.c (CMT_DECODE_URL): added
	(params1): add decode_url
* url.c (openURL): Str_url_unquote non safe
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-02-05 16:43:56 +00:00
Fumitoshi UKAI
84fefac4a4 [w3m-dev 03728] IPv6 hostname
* url.c (parseURL): rewrite IPv6 address parser
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-02-05 16:18:23 +00:00
Fumitoshi UKAI
92fc697f22 [w3m-dev 03721] PATH_INFO support of local CGI
* local.c (CGIFN_DROOT): deleted
	(CGIFN_LIBDIR): added
	(CGIFN_MODE): deleted
	(CGIFN_CONTAIN_SLASH): deleted
	(check_local_cgi): rewrite
	(cgi_filename): rewrite
	(localcgi_post): support PATH_INFO
* url.c (openURL): rewrite
* Bonus/smb.cgi: use PATH_INFO
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-31 16:25:02 +00:00
Fumitoshi UKAI
901902c777 [w3m-dev-en 00852] Re: Enhancement: content type detection of files
* url.c (DefaultGuess): remove upppercases
	(guessContentTypeFromTable): rewrite, strcasecmp
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-29 17:33:28 +00:00
Fumitoshi UKAI
b0a661730f [w3m-dev 03708] Re: Don't stop loading image when moving to next page.
* config.h.dist (lstat): define ifndef HAVE_LSTAT
* configure (config.h) ditto
* display.c (fmTerm): new loadImage
	(save_current_buf): only ifdef USE_BUFINFO
	(displayBuffer): new loadImage
* etc.c (setup_child): TrapSignal
* file.c (loadGeneralFile): TRAP_OFF, TRAP_ON
	(loadHTMLstream): ditto
	(loadGopherDir): ditto
	(loadBuffer): ditto
	(loadImageBuffer): ditto
	(getNextPage): ditto
	(save2tmp): ditto
* fm.h (TrapSignal): added
	(TRAP_ON): added
	(TRAP_OFF): added
* form.c (HAVE_LSTAT): deleted
* frame.c (createFrameFile): TRAP_OFF, TRAP_ON
* image.c (image_buffer): added
	(deleteImage): new loadImage
	(getAllImage): initialize image_buffer
	(loadImage): rewrite
* main.c (main): new loadImage
	(checkDownloadList): remove ifdef HAVE_LSTAT
* news.c (loadNwesgroup): TRAP_ON, TRAP_OFF
* proto.h (loadImage): add buf arg
* url.c (openSocket): TRAP_ON, TRAP_OFF
	(check_no_proxy): TRAP_ON, TRAP_OFF
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-29 17:10:17 +00:00
Fumitoshi UKAI
c09389519e [w3m-dev 03647] expandName() and expandPath()
* etc.c (openSecretFile): use expandPath
	(expandName): rewrite
	(file_to_url): use expandPath
* file.c (_doFileCopy): use expandPath
	(doFileSave): use expandPath
* indep.c (expandPath): rewrite
* linein.c (inputLineHistSearch): use expandPath
	(next_dcompl): use expandPath
	(doComplete): use expandPath
* local.c (set_cgi_environ): rewrite
* mailcap.c (loadMailcap): use expandPath
* main.c (svBuf): use expandPath
	(addDownloadList): use expandPath
* rc.c (init_rc): use expandPath
	(rcFile): rewrite
	(auxbinFile): use expandPath
	(libFile): use expandPath
	(etcFile): use expandPath
	(helpFile): use expandPath
* url.c (loadMimeTypes): use expandPath
	(loadURIMethods): use expandPath
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-17 17:05:57 +00:00
Fumitoshi UKAI
03fa645498 [w3m-dev 03633] Re: cleanup (don't close connection of news server)
* file.c (FTPhalfclose): deleted
	(loadGeneralFile): closeFTP when doFileSave is done
	(_doFileCopy): return int
	(doFileMove): return int
	(doFileSave): return int
* ftp.c: rewrite
* main.c (w3m_exit): disconnectFTP
* proto.h (_doFileCopy): return int
	(doFileMove): return int
	(doFileSave): return int
	(openFTP): deleted
	(openFTPStream): return InputStream
	(closeFTP): no arg
	(Ftpfclose): disconnectFTP
* url.c (openFTPstream): deleted
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-11 15:54:08 +00:00
Fumitoshi UKAI
4976d0cfe9 [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>
2003-01-10 16:29:23 +00:00
Fumitoshi UKAI
e78b061cfd [w3m-dev 03616] Re: data: URL scheme
* file.c (loadGeneralFile): check SCM_DATA
	(loadImageBuffer): newBuffer()
* html.h (SCM_DATA): added
* indep.c (url_unquote): deleted
	(Str_url_unquote): renamed from Str_form_unquote
			+ is decoded is_form only
* indep.h (url_unquote): deleted
	(Str_url_unquote): added
	(Str_form_unquote): define by Str_url_unquote
* main.c (followA): file_unquote
	(cmd_loadURL): file_unquote
* url.c (DefaultPort): add for data:
	(schemetable): add "data"
	(DefaultFile): SCM_FTPDIR
	(parseURL): scheme copied from current
	(parseURL2): SCM_DATA
		check SCM_FTP, SCM_FTPDIR
	(_parsedURL2Str): add data in scheme_str
		handle SCM_DATA
		SCM_FTPDIR
	(openURL): file_unquote
		handle SCM_DATA
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-08 17:24:11 +00:00
Fumitoshi UKAI
aee81bf527 [w3m-dev 03611] relative URL
* news.c (openNewsStream): don't skip '/' for nntp:
	(readNewsgroup): cleanup
* url.c (parseURL): don't copy user & password
	(parseURL2): fix for group, don't copy user & password
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-07 15:53:42 +00:00
Fumitoshi UKAI
b5462e1936 fix build warnings
* url.c (parseURL2): fix comparison between pointer and integer
* news.c (readNewsgroup): variable `scheme',`group',`list' might be clobbered by `longjmp' or `vfork'
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2003-01-06 15:49:28 +00:00
Fumitoshi UKAI
ff20968c8c [w3m-dev 03610] Re: news:<newsgroup>
* anchor.c (_put_anchor_news): check '<'
	(reAnchorNewsheader): added
* file.c (loadSomething): Subject: as buffername
	(checkHeader): check buf->document_header
	(loadGeneralFile): reAnchorNewsheader
* html.h (SCM_NNTP_GROUP): added
* main.c (main): delete USE_NNTP in switch (newbuf->real_scheme)
	(chkNMIDBuffer): lowercase in url_like_pat
* news.c (add_news_message): add scheme, group as arg
	(openNewsStream): check SCM_NNTP_GROUP
			check current_news.host
	(readNewsgroup): rewrite to support nntp:,news: extension
* proto.h (reAnchorNewsheader): added
* url.c (DefaultPort): add 119 for nntp group
	(parseURL2): rewrite to support nntp:,news: extension
	(_parsedURL2Str): add for SCM_NNTP_GROUP
	(openURL): rewrite to support nntp:,news: extension
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-06 15:36:56 +00:00
Fumitoshi UKAI
68d984ef99 gcc -Wall -Werror clean
* file.c (loadHTMLstream): unused variable `p'
* news.c (news_command): unused variable `c'
	(news_open): unused variable `tmp'
	(readNewsgroup): volatile page, qgroup, flag, start, end
			uninitialized variable `page'
* url.c (openURL): unused variable `fw', `r', `stream'
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-12-27 16:30:53 +00:00
Fumitoshi UKAI
44ee521b14 [w3m-dev 03608] news:<newsgroup>
* XMakefile (LSRCS): add news.c
	(LOBJS): add news.o
* file.c (loadSOmething): don't UFclose() for nntp/news
	(readHeader): remove . at beginning of line for news
		img link to file:
	(loadGeneralFile): add SCM_NEWS_GROUP
		don't UFclose() for nntp/news
	(loadHTMLstream): . line check for news
	(loadBuffer): . line check for news
* fm.h (NNTP_server): added
	(NNTP_mode): added
	(MaxNewsMessage): added
* html.h (SCM_NEWS_GROUP): added
* main.c (main): NNTP_server or NNTPSERVER
		NNTP_mode or NNTPMODE
		add SCM_NEWS_GROUP
	(followA): remove news:..@.. check
	(cmd_loadURL): remove news:...@.. check
	(w3m_exit): disconnectNews
* proto.h (openNewsStream): added
	(readNewsgroup): added
	(disconnectNews): added
* rc.c (CMT_NNTP_SERVER): added
	(CMT_NNTP_MODE): added
	(CMT_MAX_NEWS): added
	(params9): add nntpserver, nntpmode, max_news
* url.c (DefaultPort): add 119 for news group
	(parseURL2): news:..@... is SCM_NEWS_GROUP
	(_parsedURL2Str): add news for SCM_NEWS_GROUP
	(openURL): cleanup SCM_NEWS
		add SCM_NEWS_GROUP
* news.c: added
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-27 16:07:44 +00:00
Fumitoshi UKAI
b5420dc7c5 [w3m-dev 03573] Re: Bug#172851: w3m: In form, takes hostname as baseref for relative URI action
* url.c (parseURL): if empty is URL, base URL is used
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-12-14 16:09:51 +00:00
Fumitoshi UKAI
26a8e37fdc [w3m-dev 03568] Re: preserve timestamp
* etc.c (USE_COOKIE): moved
* file.c (utime.h): include
	(setModtime): added
	(loadGeneralFile): set f.modtime
	(_doFileCopy): setModtime()
	(doFileSave): setModtime()
* ftp.c (getFtpModtime): added
	(openFTP): pass URLFile, set modtime
* html.h (URLFile): add modtime
* proto.h (openFTP): arg URLFile *uf
	(mymktime): always
* url.c (init_stream): initialize modtime
	(openFTPStream): pass URLFile
	(openURL): openFTPStream
From: Takahashi Youichirou <nikuq@hk.airnet.ne.jp>
2002-12-14 15:18:37 +00:00
Fumitoshi UKAI
a6e5e26ddd [w3m-dev 03448] Some fixes
* url.c (KeyAbort): SIGNAL_RETURN
* .cvsginore: delete w3mimgsize
* scripts/.cvsignore: delete xface2xbm
* scripts/xface2xbm.in: deleted
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-11-18 17:32:16 +00:00
Fumitoshi UKAI
62fc785e24 [w3m-dev 03431] save file by background process
* file.c (loadGeneralFile): use _doFileCopy()
	(_doFileCopy): renamed from doFileCopy()
			lock
			fork & save
	(doFileSave): lock
			fork & save
* fm.h (DownloadList): added
	(FirstDL): added
	(LastDL): added
* form.c (struct internal_action): add download
* funcname.tab (DOWNLOAD_LIST): added
* html.h (URLFile): add url
* main.c (dump_extra): add add_download_list
	(main): add_download_list, ldDL()
	(_quitfm): added
	(quitfm): rewrite with _quitfm()
	(qquitfm): ditto
	(w3m_exit): stopDownload()
	(addDownloadList): added
	(checkDownloadList): added
	(convert_size3): added
	(DownloadListBuffer): added
	(download_action): added
	(stopDownload): added
	(ldDL): added
* proto.h (ldDL): added
	(convert_size): added
	(convert_size2): added
	(doFileCopy): deleted
	(_doFileCopy): added
	(addDownloadList): added
	(stopDownload): added
	(checkDownloadList): added
	(download_action): added
* url.c (openURL): save url in uf
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-11-15 15:19:43 +00:00
Fumitoshi UKAI
41139c1337 [w3m-dev 03429] https proxy
* fm.h (HTTPS_proxy): added
	(HTTPS_proxy_parsed): added
* main.c (main): check https_proxy
* rc.c (CMT_HTTPS_PROXY): added
	(https_proxy): added
	(parse_proxy): HTTPS_proxy
* url.c (openURL): for HTTPS, use HTTPS_proxy
	(schemeToProxy): HTTPS_proxy_parsed
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-11-14 16:56:22 +00:00
Fumitoshi UKAI
bcb1de20e2 [w3m-dev 03382] Interrupt in no_proxy_check()
* url.c (check_no_proxy): SIGINT trap by KeyAbort
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-11-06 15:03:25 +00:00
Fumitoshi UKAI
0bb13ab6c5 [w3m-dev-en 00827] Re: w3m-cvs segfaults on news://<mid> URLs
* url.c (openURL): check pu->file for news:
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-11-04 08:47:37 +00:00
Fumitoshi UKAI
7fc90cee15 add comments for news: URL 2002-11-02 18:12:06 +00:00
Fumitoshi UKAI
3721324a4a [w3m-dev 03336] proxy check for https authorization:
* url.c (HTTPrequest): check CONNECT request for ssl
From: AIDA Shinra <aida-s@jcom.home.ne.jp>
2002-10-08 15:28:37 +00:00
Fumitoshi UKAI
d4214f39a6 Re: [w3m-dev 03320] Re: Passwords
* etc.c (dir_under): same path is ok
* file.c (loadGeneralFile): if missing, return NULL
	ssl cert already checked
* html.h (URLFILE): add ssl_certificate
* istream.c (ssl_get_certificate): change args
* istream.h (ssl_get_certificate): ditto
* url.c (openSSLHandle): add p_cert
	ssl certificate check here
	(HTTPrequest): auth_cookie fix
From: AIDA Shinra <aida-s@jcom.home.ne.jp>
2002-09-28 16:30:07 +00:00
Fumitoshi UKAI
29e57b1c5c [w3m-dev 03319] mailto
* main.c (followA): mailto
* main.c (cmd_loadURL): mailto
* url.c (_parsedURL2Str): mailto: query
From: AIDA Shinra <aida-s@jcom.home.ne.jp>
2002-09-24 17:06:04 +00:00
Fumitoshi UKAI
f5c8b4df75 [w3m-dev 03318] Re: Passwords
* etc.c (struct auth_path): added
	(passwords): added
	(dir_under): added
	(add_auth_pass_entry): added
	(find_auth_pass_entry): added
	(find_auth_user_passwd): added
	(loadPasswd): added
	(find_auth): dir_under()
	(add_auth_cookie): check file
* file.c (find_auth_user_passwd): removed
	(getAuthCookie): use delText()
			check proxy
	(get_auth_cookie): removed
	(loadGeneralFile): auth_pu
* proto.h (schemeToProxy): added
	(get_auth_cookie): removed
	(loadPasswd): added
	(find_auth_user_passwd): added
* rc.c (sync_with_option): loadPasswd()
* textlist.c (delValue): added
* textlist.h (delValue): added
	(delText): added
* url.c (HTTPrequest): seen_www_auth
	(schemeToProxy): added
From: AIDA Shinra <aida-s@jcom.home.ne.jp>
2002-09-24 16:35:02 +00:00
Fumitoshi UKAI
804cd482d6 [w3m-dev 03093] Re: gopher broken
(Re: Bug#137287: w3m: segfault on gopher://xxxx.xxx URI)
* file.c (loadGopherDir): fix ->ptr
	q should be url_quote()
* url.c (openURL): url_unquote() for gopher selector
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-03-08 15:59:25 +00:00
Fumitoshi UKAI
ae731e7079 * version.c.in: 0.3+cvs
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-03-06 03:32:10 +00:00
Fumitoshi UKAI
84854e6db6 [w3m-dev 03072] Proxy-Authorization (Re: Re: https through proxy)
* file.c (loadGeneralFile) delete Proxy-Authorization set here
* fm.h (HR_FLAG_PROXY): added
* main.c (MAIN): need "Basic " for proxy_auth_cookie
* url.c (HTTPrequest): add seen_proxy_auth
	if proxy and no Proxy-Authorization: header seen and
	has proxy_auth_cookie, use it
* url.c (openURL): hr->flag |= HR_FLAG_PROXY

* file.c (loadGeneralFile) comment indent fix
* html.c (TagMAP): ditto
From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-02-28 16:15:41 +00:00
Fumitoshi UKAI
b6e7d6aa35 [w3m-dev 03070] Re: https through proxy
* url.c (openURL): pass extra_header (Proxy-Authorization:)
From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-02-27 16:53:27 +00:00
Fumitoshi UKAI
afbe346d3c [w3m-dev 03057] Re: Bug#134350: w3m: Forgets (http auth) login information upon reload (or almost anything else)
* etc.c (find_auth): add `file'
		check file as well
* etc.c (find_auth_cookie): add `file'
* etc.c (add_auth_cookie): add `file'
* file.c (AuthBasicCred): add "Basic "
* file.c (AuthDigestCred): add "Digest "
* file.c (getAuthCookie): if h_auth == NULL, get recorded cookie
* file.c (get_auth_cookie): get recorded cookie
* file.c (loadGeneralFile): don't clear add_auth_cookie_flag
			by redirection
	add_auth_cookie if authorization is required and passed
* fm.h (auth_cookie): add file
* ftp.c (openFTP): follow change auth_cookie
* proto.h (get_auth_cookie): added
* proto.h (find_auth_cookie): add `file'
* proto.h (add_auth_cookie): add `file'
* url.c (openURL): get_auth_cookie
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-02-19 15:50:17 +00:00
Fumitoshi UKAI
6e8be2a897 add comments 2002-02-08 11:25:24 +00:00
Fumitoshi UKAI
732bd9f443 [w3m-dev 03017] URI scheme is case insensitive
* url.c (searchURIMethods): s/strcmp/strcasecmp/
From: Yuji Abe <cbo46560@pop12.odn.ne.jp>
2002-02-08 11:20:14 +00:00
Fumitoshi UKAI
f767a82fd3 [w3m-dev 02985] inputAnswer() and no "ssl_forbid_method"
* file.c (inputAnswer): buf size is 80
 * url.c (openSSLHandle): if old_ssl_forbid_method == ssl_forbid_method
			ssl path is not modified
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-02-04 14:49:21 +00:00
Dai Sato
50b17ce71e for SunOS 4.1.x 2002-02-01 13:58:47 +00:00
Fumitoshi UKAI
d1ede3ab4f [w3m-dev 02928] RFC2617: HTTP Digest authentication
* NEWS: RFC2617: HTTP Digest authentication
* config.h.dist (USE_DIGEST_AUTH): added
* configure (use_digest_auth): added, enabled when openssl found
				(because it used openssl/md5.h)
* file.c (auth_param): added
* file.c (http_auth): added
* file.c (extract_auth_val): added
* file.c (qstr_unquote): added
* file.c (extract_auth_param): added
* file.c (get_auth_param): added
* file.c (AuthBasicCred): added
* file.c (digest_hex): added
* file.c (AuthDigestCred): added
* file.c (basic_auth_param): added
* file.c (digest_auth_param): added
* file.c (www_auth): added
* file.c (findAuthentication): added
* file.c (getAuthCookie): rewrite, use http_auth
* file.c (loadGeneralFile): HRequest hr
* file.c (loadGeneralFile): use findAuthentication, new getAuthCookie
* proto.h (HTTPrequestMethod): added
* proto.h (HTTPrequestURI): added
* proto.h (openURL): add `hr' arg
* url.c (HTTPrequestMethod): added
* url.c (HTTPrequestURI): added
* url.c (HTTPrequest): use HTTPrequestMethod and HTTPrequestURI
* url.c (openURL): add `hr' arg
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-01-29 19:08:49 +00:00
Fumitoshi UKAI
2fdc8794ea [w3m-dev 02880] URI_PATTERN
* url.c (URI_PATTERN): better match for % hex hex
* url.c (chkExternalURIBuffer): don't use URI_PATTERN as format string
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-01-21 18:33:59 +00:00
Fumitoshi UKAI
a87d5ca932 url.c (URI_PATTERN): remove \
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-01-21 16:58:32 +00:00
Fumitoshi UKAI
004f4abe6e [w3m-dev 02877] some fixes for urimethodmap
* config.h.dist (RC_DIR): remove tailing /
* configure (mailer): if use_w3mmailer = y, don't ask mailer
* configure (RC_DIR): remove tailing /
* fm.h (Mailer): ifndef USE_W3MMAILER
* main.c (MAIN): ifndef USE_W3MMAILER getenv("MAILER")
* rc.c ("mailer"): ifndef USE_W3MMAILER
* regex.c (newRegex0): \ escape kanji chars
* url.c (searchURIMethods): need escape for -
* scripts/w3mmail.cgi.in: move $url, $qurl
* scripts/w3mmail.cgi.in: url_unquote $to
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-01-21 15:56:12 +00:00
Fumitoshi UKAI
48c6df47d0 [w3m-dev 02867] mark URL for external URIs
* main.c (chkURLBuffer): chkExternalURIBuffer()
* proto.h (chkExternalURIBuffer): added
* url.c (chkExternalURIBuffer): added
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-01-17 11:06:45 +00:00
Fumitoshi UKAI
0b5a17e5c0 [w3m-dev 02834] mailto: use external program 2002-01-15 03:45:02 +00:00
Fumitoshi UKAI
a5ab3f27e0 [w3m-dev 02832] external URI loader support
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-01-14 15:59:17 +00:00
Fumitoshi UKAI
4cb999da4e [w3m-dev 02828]
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-01-12 15:34:34 +00:00
Fumitoshi UKAI
9de0a515bc [w3m-dev 02829]
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-01-12 13:33:47 +00:00