aboutsummaryrefslogtreecommitdiff
path: root/strings.go
diff options
context:
space:
mode:
authorGravatar Aliaksandr Valialkin <valyala@gmail.com> 2015-12-03 19:00:24 +0200
committerGravatar Aliaksandr Valialkin <valyala@gmail.com> 2015-12-03 19:00:24 +0200
commited1d21e27da8ad89ca8d17c6d39c86afd79f08cc (patch)
tree08bfdedc9f1c977148be62b7d357e0b622df3316 /strings.go
parentMention TimeoutError exception, which may be called when other goroutines acc... (diff)
downloadfasthttp-ed1d21e27da8ad89ca8d17c6d39c86afd79f08cc.tar.gz
fasthttp-ed1d21e27da8ad89ca8d17c6d39c86afd79f08cc.tar.bz2
fasthttp-ed1d21e27da8ad89ca8d17c6d39c86afd79f08cc.zip
Remove '/./' parts from path
Diffstat (limited to 'strings.go')
-rw-r--r--strings.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/strings.go b/strings.go
index 67c1891..8084287 100644
--- a/strings.go
+++ b/strings.go
@@ -10,6 +10,7 @@ var (
strSlash = []byte("/")
strSlashSlash = []byte("//")
strSlashDotDot = []byte("/..")
+ strSlashDotSlash = []byte("/./")
strSlashDotDotSlash = []byte("/../")
strCRLF = []byte("\r\n")
strHTTP = []byte("http")