summaryrefslogtreecommitdiff
path: root/utils/url.h
Commit message (Collapse)AuthorAgeFilesLines
* URL escape: Improve API documentation.Michael Drake2016-07-251-4/+6
|
* URL escape: Simplify to avoid unnecessary allocation.Michael Drake2016-07-251-2/+1
| | | | | | | | This removes the toskip parameter, which was only used by the RISC OS front end. The toskip param was used to skip 8 characters which did not need to be escaped from the start of the URL. The RISC OS front end now orders the steps of its URL construction to avoid the need for this.
* Improve comments.Michael Drake2016-07-241-1/+2
|
* URL unescape: return the new length to the caller.Michael Drake2016-07-241-4/+8
| | | | | | | | The avoids situations were we threw away the length, only for the caller to have to strlen the returned string. Note, there seems to be a case of the amiga front end writing beyond end of allocation. Added a TODO for now.
* URL unescape: Use size_t for length.Michael Drake2016-07-241-1/+1
|
* Doxygen: Fix instance of bad function comment syntax.Michael Drake2016-07-241-1/+1
|
* reduce curl usage to fetcher, url unescaping and time parsingVincent Sanders2016-06-291-2/+3
|
* Move FILE_SCHEME_PREFIX to corestrings.Michael Drake2015-02-261-7/+2
|
* doxygen cleanups in utilsVincent Sanders2014-11-121-1/+3
|
* Move host_is_ip_address into urldb, as that's the only thing that cares.Michael Drake2014-10-311-13/+0
|
* remove unused url_init functionVincent Sanders2014-10-311-8/+0
|
* use nsurl_nice and remove url_niceVincent Sanders2014-10-311-10/+0
| | | | | change all callers over to using new API for generating nice filenames from a url and remove the old API.
* Remove unused url_components stuff.Michael Drake2014-10-261-10/+0
|
* Remove unused url_path function.Michael Drake2014-10-261-10/+0
|
* Remove unused url_scheme function.Michael Drake2014-10-261-12/+0
|
* make regex wrapper return errors instead of just abortingVincent Sanders2014-10-251-1/+1
|
* remove unused url operationsVincent Sanders2014-05-091-21/+0
|
* refactor url utility functions to use standard nserror codes and have ↵Vincent Sanders2014-05-081-20/+100
| | | | appropriate documentation.
* move path_to_url and url_to_path to fetch operation tableVincent Sanders2014-01-251-3/+0
|
* Make url_{get|reform|destroy}_components static.Michael Drake2012-10-111-5/+0
|
* Remove unused function.Michael Drake2012-10-111-1/+0
|
* Don't need url_compare any more.Michael Drake2012-10-111-2/+0
|
* Remove url_parent.Michael Drake2012-10-061-1/+0
|
* Remove unused functions.Michael Drake2012-10-051-3/+0
|
* doxygen serious warning cleanupVincent Sanders2012-07-241-3/+6
|
* Remove unused url_normalise() and don't include regex.h.Michael Drake2011-10-061-1/+0
| | | | svn path=/trunk/netsurf/; revision=12971
* Merge branches/vince/netsurf-file-fetcher to trunkJohn Mark Bell2010-09-091-0/+1
| | | | | | r=jmb svn path=/trunk/netsurf/; revision=10750
* rationalise the usage of the file schemeVincent Sanders2010-03-311-0/+4
| | | | svn path=/trunk/netsurf/; revision=10221
* - riscos/gui.c(path_to_url): escape the characters which need to be escaped ↵John Tytgat2008-04-021-2/+2
| | | | | | | | | | | | | | when converting the host path to file: URL. - utils/{url.c,url.h}(url_escape): * added parameter 'toskip' to specify number of input characters which need to be skipped in the escape process. This avoids extra malloc buffer juggling. * added parameter 'escexceptions' to specify the characters which need to be excluded from the escape process. Solves SF tracker ID 1910169. Note that when discname in path contains '/' characters (case: "file:///Sunfish#192.168.0.50::/home/joty.$/jo.html") or there is no discname specified at all (case "file:///HostFS:$/jo.htm"), you need an UnixLib fix as in http://www.riscos.info/websvn/listing.php?repname=gccsdk&path=%2Ftrunk%2Fgcc4%2F&rev=3395&sc=1 svn path=/trunk/netsurf/; revision=4069
* Add url_fragment to extract fragment from URLJohn Mark Bell2008-02-031-1/+2
| | | | | | | | Optionally allow url_compare to ignore fragments in comparison Fix handling of url_compare result in a few places Fix redirects which contain fragments in the Location header svn path=/trunk/netsurf/; revision=3826
* Add url_leafname()John Mark Bell2008-01-071-0/+1
| | | | | | Remove spurious * from url_host_is_ip_address() svn path=/trunk/netsurf/; revision=3691
* Update all source code file headers to reflect GPL version 2 only and ↵Vincent Sanders2007-08-081-3/+14
| | | | | | contain appropriate licence text svn path=/trunk/netsurf/; revision=3486
* Fix 1535120, 1528673Richard Wilson2006-12-011-0/+1
| | | | svn path=/trunk/netsurf/; revision=3087
* Update project URL.Michael Drake2006-11-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=3073
* Correcly encode spaces for url-encoded form submission.John Mark Bell2006-09-191-1/+2
| | | | svn path=/trunk/netsurf/; revision=2960
* Expose url component functions.Richard Wilson2006-09-021-0/+14
| | | | svn path=/trunk/netsurf/; revision=2907
* Implement up toolbar icon and menu option.Richard Wilson2006-07-031-1/+1
| | | | svn path=/trunk/netsurf/; revision=2705
* Implement component-wise URL comparisonJohn Mark Bell2006-07-021-0/+2
| | | | svn path=/trunk/netsurf/; revision=2697
* Merge cookies changes into head - unvalidated transactions and a UI John Mark Bell2006-06-191-0/+1
| | | | | | still need implementing. svn path=/trunk/netsurf/; revision=2632
* Unify information databasesJohn Mark Bell2006-04-091-0/+1
| | | | svn path=/trunk/netsurf/; revision=2519
* [project @ 2006-02-19 18:26:23 by jmb]John Mark Bell2006-02-191-0/+2
| | | | | | | | Rewrite HTTP authentication. Fix extraction of realm from WWW-Authenticate header. Tidy up login dialog code. svn path=/import/netsurf/; revision=2085
* [project @ 2006-01-18 00:54:27 by rjw]Richard Wilson2006-01-181-0/+3
| | | | | | Tidy up code to use generic url<->path functions. svn path=/import/netsurf/; revision=2022
* [project @ 2005-07-23 20:43:37 by bursa]James Bursa2005-07-231-1/+2
| | | | | | Rewrite and simplify url_nice() to improve suggested filenames. Add option to keep extensions (no UI currently). svn path=/import/netsurf/; revision=1814
* [project @ 2005-06-26 22:18:37 by jmb]John Mark Bell2005-06-261-0/+1
| | | | | | | Improve clarity of use of utf8_to_enc. Remove use of curl_escape - url_escape does similar things, just better. svn path=/import/netsurf/; revision=1766
* [project @ 2005-04-30 14:31:48 by bursa]James Bursa2005-04-301-1/+2
| | | | | | Fix bug in url_up_re which caused /xy/../ not to be recognised when xy was 2 characters. Add defines for match part numbers. Simplify part 6(g) of url_join(). svn path=/import/netsurf/; revision=1704
* [project @ 2004-10-01 21:31:55 by jmb]John Mark Bell2004-10-011-0/+1
| | | | | | | | | | | | A somewhat better implementation of referrers which no longer sends the referer if the URL schemes don't match. Things to do: 1) Preservation of referer across redirects (see comment in browser.c:284) 2) GUI templates/code for configuration of referer sending (simple on/off toggle only) 3) Make referer sending when fetching objects/stylesheets for a page pay attention to option_send_referer? 4) Handle the case where the referer is in the form of http://moo:foo@mysite.com/ (ie the login details embedded in the referer - not good). svn path=/import/netsurf/; revision=1297
* [project @ 2004-08-09 16:11:58 by jmb]John Mark Bell2004-08-091-4/+10
| | | | | | | Rework the interface of the URL handing module to allow for multiple error types. Modify save_complete URL rewriting appropriately. svn path=/import/netsurf/; revision=1206
* [project @ 2004-03-27 23:18:52 by bursa]James Bursa2004-03-271-0/+1
| | | | | | Implement url_nice() and make save boxes use it to choose the default filename. svn path=/import/netsurf/; revision=682
* [project @ 2004-03-02 18:02:17 by bursa]James Bursa2004-03-021-0/+20
Add new url functions and modify to use them. svn path=/import/netsurf/; revision=578