aboutsummaryrefslogtreecommitdiffstats
path: root/url.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Allow setting User Agent in SiteconfAzure2019-06-301-1/+4
| | | | | | Since Google gives usable search results to Lynx but not to w3m, and many other sites block Lynx but /not/ w3m, we want to be able to set the User Agent string on a per-site basis.
* Allow to override UserAgentLaurent Arnoud2019-04-211-6/+8
| | | | | | | | | | | | | | | | | | | | | | | Adding on command line the user agent add a duplicate header: ``` ./w3m -header "User-Agent: Mozilla" http://localhost:9999 GET / HTTP/1.0 User-Agent: w3m/0.5.3+git20190105 Accept: text/html, text/*;q=0.5, image/*, application/*, message/*, x-scheme-handler/*, audio/*, video/*, inode/* Accept-Encoding: gzip, compress, bzip, bzip2, deflate Accept-Language: en;q=1.0 Host: localhost:9999 Pragma: no-cache Cache-control: no-cache User-Agent: Mozilla ``` As a result most server will take the first given; the default w3m_version or the one defined on config `user_agent` With this patch we can now override `User-Agent` from command line
* Indentation fixTatsuya Kinoshita2018-10-261-1/+1
|
* Do not use deprecated features with openssl-1.1Mark Wright2018-10-241-1/+5
|
* Add error handling code for fopenJia Zhouyang2018-03-041-0/+4
| | | Check the return code of fopen, and return when it fails.
* Fix multi-character character constant for ssl_forbid_methodTatsuya Kinoshita2018-01-061-3/+3
|
* Extend ssl_forbid_method to disable TLSv1.1se2018-01-061-0/+4
| | | | Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874218#5
* Prevent global-buffer-overflow in parseURL()Tatsuya Kinoshita2016-11-171-1/+4
| | | | Bug-Debian: https://github.com/tats/w3m/issues/41
* Disable RC4Leo Famulari2016-03-301-1/+1
| | | | Origin: http://git.savannah.gnu.org/cgit/guix.git/commit/?id=62339e2d493bf87a3aabe12e45458581e9705d83
* Fix variable is reassigned a value before the old one has been usedTatsuya Kinoshita2016-03-291-1/+1
|
* Fix style of array index is used before limits checkTatsuya Kinoshita2016-03-291-1/+1
| | | | Bug: https://sourceforge.net/p/w3m/feature-requests/25/
* Remove dead assignments flagged by Clang static analysisDavid Crosby2015-08-111-4/+2
|
* http requests: use Content-Length instead of Content-lengthAlan Grow2015-08-091-4/+4
|
* Merge branch 'bug/weak-ciphers'Tatsuya Kinoshita2014-06-231-0/+1
|\
| * Disable ciphers that use keys smaller than 128 bitsTatsuya Kinoshita2014-06-231-0/+1
| | | | | | | | Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/w3m/+bug/1325674
* | Merge branch 'bug/openssl'Tatsuya Kinoshita2013-11-071-0/+8
|\ \
| * | Use SSL_MODE_RELEASE_BUFFERS if availableCristian Rodriguez2013-11-071-0/+5
| | | | | | | | | | | | | | | Patch from openSUSE on 2012-11-12: https://build.opensuse.org/request/show/141054
| * | Use SSL_OP_NO_COMPRESSION if availableCristian Rodriguez2013-11-071-0/+3
| |/ | | | | | | | | | | | | | | | | Due to the "CRIME attack" (CVE-2012-4929) HTTPS clients that negotiate TLS-level compression can be abused for MITM attacks. Patch from openSUSE on 2012-11-12: https://build.opensuse.org/request/show/141054
* | Merge branch 'bug/schemebug'Tatsuya Kinoshita2013-10-141-10/+21
|\ \
| * | Define schemeNumToName() to fix scheme bugAIDA Shinra2013-10-141-10/+21
| |/ | | | | | | | | Patch from <http://www.j10n.org/files/w3m-cvs-1.1055-schemebug.patch>, [w3m-dev:04470] on 2013-10-14.
* / Support the siteconf featureTatsuya Kinoshita2013-04-081-23/+99
|/ | | | | Patch to support the siteconf feature, from [w3m-dev 04463] on 2012-06-27, provided by AIDA Shinra.
* Adding upstream version 0.5.3upstream/0.5.3Tatsuya Kinoshita2011-05-041-13/+27
|
* Adding upstream version 0.5.2upstream/0.5.2Tatsuya Kinoshita2011-05-041-12/+18
|
* Adding upstream version 0.5.1upstream/0.5.1Tatsuya Kinoshita2011-05-041-0/+2216