Skip to content

Commit d64da97

Browse files
authored
Merge pull request #16 from FastForwardTeam/capital
2 parents 85a780b + 1352651 commit d64da97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sanitizers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525

2626
var (
2727
domainRegex = regexp.MustCompile(`(?:[a-zA-Z0-9](?:[a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,6}`)
28-
pathRegex = regexp.MustCompile(`[^a-z\d&=+.\-_~/?#'%]+`)
28+
pathRegex = regexp.MustCompile(`[^A-Za-z\d&=+.\-_~/?#'%]+`)
2929
bmStrict = bluemonday.StrictPolicy()
3030
whiteSpaceRegex = regexp.MustCompile(`(\r?\n)|( {2,})|(\t)`)
3131
usernameSanitizingRegex = regexp.MustCompile(`[^a-zA-Z0-9_]+`)

0 commit comments

Comments
 (0)