diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/url.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/url.lua b/src/url.lua index a354ab5..0d88adb 100644 --- a/src/url.lua +++ b/src/url.lua | |||
| @@ -94,7 +94,7 @@ local function remove_dot_components(path) | |||
| 94 | path = path:gsub('[^/]+/%.%./*$', '') | 94 | path = path:gsub('[^/]+/%.%./*$', '') |
| 95 | path = path:gsub('/%.%.$', '/') | 95 | path = path:gsub('/%.%.$', '/') |
| 96 | path = path:gsub('/%.$', '/') | 96 | path = path:gsub('/%.$', '/') |
| 97 | path = path:gsub('^/%.%.', '') | 97 | path = path:gsub('^/%.%./', '/') |
| 98 | return path | 98 | return path |
| 99 | end | 99 | end |
| 100 | 100 | ||
