Daniel Firsht
|
ee8450036e
|
Added option to disable path normalization (#649)
|
2019-09-18 08:56:18 +02:00 |
|
xuecai
|
ed3793a1e1
|
add tests for copyto (#545)
* add tests for copyto
* add HeaderCopy Test reflect.DeepEqual
|
2019-02-17 10:11:45 +00:00 |
|
Erik Dubbelboer
|
50bdd6c77c
|
Fix appendQuotedPath to include all allowed characters
|
2018-09-05 20:06:18 +03:00 |
|
Aliaksandr Valialkin
|
e2ac397815
|
Parse bogus uris with missing slash after hostname like http://foobar.com?baz=123, since such uris occur in real life :(
|
2017-11-08 13:05:29 +02:00 |
|
Aliaksandr Valialkin
|
0a7f0a797c
|
Updated tests and documentation for URI.Parse and URI.Update* regarding uris without scheme
|
2017-01-09 10:50:56 +02:00 |
|
Aliaksandr Valialkin
|
2662f2e1f4
|
Allow redirecting to urls without scheme, i.e. //google.com/foo.bar
|
2016-08-17 18:55:32 +03:00 |
|
Aliaksandr Valialkin
|
033bb40f06
|
Properly handle hashes and single dots in URI.Update (see https://github.com/kataras/iris/issues/173)
|
2016-06-07 13:30:03 +03:00 |
|
Aliaksandr Valialkin
|
58e4dea85d
|
Properly copy query arguments in URI.CopyTo
|
2016-02-19 20:17:37 +02:00 |
|
Aliaksandr Valialkin
|
5a26dcce53
|
Added AcquireArgs and ReleaseArgs helper functions
|
2016-02-19 12:53:39 +02:00 |
|
Aliaksandr Valialkin
|
dcd687ba8b
|
Added AcquireURI and ReleaseURI
|
2016-02-17 12:10:53 +02:00 |
|
Aliaksandr Valialkin
|
5507d704f9
|
Issue #48: added more tests and code prettifying after PR #50
|
2016-02-09 20:16:23 +02:00 |
|
Kristoffer Peterhänsel
|
2e947c76e1
|
Fix fragment parsing so it won't get url encoded if there is no query in front of it
|
2016-02-09 14:17:56 +01:00 |
|
Aliaksandr Valialkin
|
9b0b87c951
|
Added URI.LastPathSegment helper function
|
2016-01-04 14:23:07 +02:00 |
|
Aliaksandr Valialkin
|
9d4cd451d9
|
test URI.Update() with path containing non-ASCII chars
|
2015-12-23 11:29:17 +02:00 |
|
Aliaksandr Valialkin
|
ea8a7f54d5
|
Do not escape '-' and '_' in url path and query args
|
2015-12-22 20:18:19 +02:00 |
|
Aliaksandr Valialkin
|
b3c0a2cf75
|
Do not escape the most frequently used chars in uri path such as ':~=,'
|
2015-12-22 20:13:45 +02:00 |
|
Aliaksandr Valialkin
|
ed1d21e27d
|
Remove '/./' parts from path
|
2015-12-03 19:00:24 +02:00 |
|
Aliaksandr Valialkin
|
9f27e4c2b0
|
Added Update and CopyTo methods to URI
|
2015-11-28 14:45:13 +02:00 |
|
Aliaksandr Valialkin
|
46ac549ae1
|
Access URI members via accessors
|
2015-11-22 13:05:24 +02:00 |
|
Aliaksandr Valialkin
|
2b1eca3a70
|
Optimize request uri parsing - defer Host header reading
|
2015-11-19 15:05:27 +02:00 |
|
Aliaksandr Valialkin
|
230a396384
|
Hide URI.QueryArgs behind accessor, which automatically parses query args
|
2015-11-15 23:51:13 +02:00 |
|
Aliaksandr Valialkin
|
f1f78f0828
|
Hide Request.URI and Request.PostArgs behind accessors, which automatically call parse URI and PostArgs on first access
|
2015-11-15 23:47:22 +02:00 |
|
Aliaksandr Valialkin
|
4edb6bacf4
|
Use QueryString contents if QueryArgs is empty in URI.AppendBytes
|
2015-10-27 19:01:21 +02:00 |
|
Aliaksandr Valialkin
|
ffc2b7025d
|
Added URI path normalization, i.e. //foo//../bar converts to /foo/bar
|
2015-10-22 17:50:47 +03:00 |
|
Aliaksandr Valialkin
|
a049630bca
|
initial commit
|
2015-10-19 01:21:09 +03:00 |
|