aboutsummaryrefslogtreecommitdiffstats
path: root/url.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [w3m-dev 03431] save file by background processFumitoshi UKAI2002-11-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [w3m-dev 03429] https proxyFumitoshi UKAI2002-11-141-10/+19
| | | | | | | | | | | | * 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>
* [w3m-dev 03382] Interrupt in no_proxy_check()Fumitoshi UKAI2002-11-061-7/+25
| | | | | * url.c (check_no_proxy): SIGINT trap by KeyAbort From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev-en 00827] Re: w3m-cvs segfaults on news://<mid> URLsFumitoshi UKAI2002-11-041-1/+3
| | | | | * url.c (openURL): check pu->file for news: From: Fumitoshi UKAI <ukai@debian.or.jp>
* add comments for news: URLFumitoshi UKAI2002-11-021-1/+4
|
* [w3m-dev 03336] proxy check for https authorization:Fumitoshi UKAI2002-10-081-5/+25
| | | | | * url.c (HTTPrequest): check CONNECT request for ssl From: AIDA Shinra <aida-s@jcom.home.ne.jp>
* Re: [w3m-dev 03320] Re: PasswordsFumitoshi UKAI2002-09-281-8/+29
| | | | | | | | | | | | | * 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>
* [w3m-dev 03319] mailtoFumitoshi UKAI2002-09-241-1/+5
| | | | | | | * main.c (followA): mailto * main.c (cmd_loadURL): mailto * url.c (_parsedURL2Str): mailto: query From: AIDA Shinra <aida-s@jcom.home.ne.jp>
* [w3m-dev 03318] Re: PasswordsFumitoshi UKAI2002-09-241-6/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [w3m-dev 03093] Re: gopher brokenFumitoshi UKAI2002-03-081-2/+2
| | | | | | | | (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>
* * version.c.in: 0.3+cvsFumitoshi UKAI2002-03-061-3/+1
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03072] Proxy-Authorization (Re: Re: https through proxy)Fumitoshi UKAI2002-02-281-2/+16
| | | | | | | | | | | | | | * 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>
* [w3m-dev 03070] Re: https through proxyFumitoshi UKAI2002-02-271-2/+2
| | | | | * url.c (openURL): pass extra_header (Proxy-Authorization:) From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03057] Re: Bug#134350: w3m: Forgets (http auth) login information ↵Fumitoshi UKAI2002-02-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | 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>
* add commentsFumitoshi UKAI2002-02-081-1/+7
|
* [w3m-dev 03017] URI scheme is case insensitiveFumitoshi UKAI2002-02-081-3/+3
| | | | | * url.c (searchURIMethods): s/strcmp/strcasecmp/ From: Yuji Abe <cbo46560@pop12.odn.ne.jp>
* [w3m-dev 02985] inputAnswer() and no "ssl_forbid_method"Fumitoshi UKAI2002-02-041-3/+4
| | | | | | | * 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>
* for SunOS 4.1.xDai Sato2002-02-011-1/+3
|
* [w3m-dev 02928] RFC2617: HTTP Digest authenticationFumitoshi UKAI2002-01-291-32/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [w3m-dev 02880] URI_PATTERNFumitoshi UKAI2002-01-211-4/+4
| | | | | | * 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>
* url.c (URI_PATTERN): remove \Fumitoshi UKAI2002-01-211-2/+2
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02877] some fixes for urimethodmapFumitoshi UKAI2002-01-211-2/+2
| | | | | | | | | | | | | | * 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>
* [w3m-dev 02867] mark URL for external URIsFumitoshi UKAI2002-01-171-1/+30
| | | | | | | * main.c (chkURLBuffer): chkExternalURIBuffer() * proto.h (chkExternalURIBuffer): added * url.c (chkExternalURIBuffer): added From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02834] mailto: use external programFumitoshi UKAI2002-01-151-4/+17
|
* [w3m-dev 02832] external URI loader supportFumitoshi UKAI2002-01-141-2/+113
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02828]Fumitoshi UKAI2002-01-121-1/+3
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02829]Fumitoshi UKAI2002-01-121-101/+7
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02815]Fumitoshi UKAI2002-01-101-3/+3
| | | | From: aito@fw.ipsj.or.jp
* [w3m-dev 02794]Fumitoshi UKAI2002-01-071-17/+6
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02772]Fumitoshi UKAI2001-12-271-2/+5
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* fix #undef USE_SSL_VERIFY compile errorFumitoshi UKAI2001-12-271-2/+2
|
* [w3m-dev 02753]Fumitoshi UKAI2001-12-271-78/+3
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02750]Fumitoshi UKAI2001-12-261-21/+147
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* RFC2818 server identity check updateFumitoshi UKAI2001-12-261-5/+7
|
* [w3m-dev 02743] RFC2818 server identity checkFumitoshi UKAI2001-12-261-13/+53
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* run "make indent"Fumitoshi UKAI2001-12-071-3/+2
|
* [w3m-dev 02637]Fumitoshi UKAI2001-12-061-15/+12
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [#489463] Host: header is wrong IPv6 literal addrFumitoshi UKAI2001-12-061-2/+7
|
* [w3m-dev 02633]Fumitoshi UKAI2001-12-061-3/+3
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02608]Fumitoshi UKAI2001-12-031-2/+2
| | | | From: From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02605]Fumitoshi UKAI2001-12-021-11/+11
| | | | From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* modify AcceptLangFumitoshi UKAI2001-11-301-13/+2
|
* [w3m-dev 02598]Fumitoshi UKAI2001-11-301-3/+3
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02597]Fumitoshi UKAI2001-11-301-8/+3
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02592] Accept: and AcceptEncoding:Fumitoshi UKAI2001-11-301-5/+80
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02584] code cleanup againFumitoshi UKAI2001-11-291-7/+7
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02576]Fumitoshi UKAI2001-11-271-2/+1
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* run make indentFumitoshi UKAI2001-11-241-234/+251
|
* [w3m-dev 02528] RFC2732 URL PatchFumitoshi UKAI2001-11-231-10/+10
| | | | From: Akihiro Sagawa <sagawa@sohgoh.net>
* [w3m-dev 02497]Fumitoshi UKAI2001-11-221-12/+4
| | | | From: WATANABE Katsuyuki <katsuyuki_1.watanabe@toppan.co.jp>