Replaced HTML escape character for single quote with URL encoding
This commit is contained in:
parent
0c45103fbd
commit
4d384eb4dc
|
@ -12,7 +12,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
ReleaseVersion string = "3.2.8"
|
ReleaseVersion string = "3.2.9"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -91,7 +91,7 @@ Loop:
|
||||||
}
|
}
|
||||||
|
|
||||||
func pathUrlEscape(path string) string {
|
func pathUrlEscape(path string) string {
|
||||||
return strings.Replace(path, `'`, `'`, -1)
|
return strings.Replace(path, `'`, `%27`, -1)
|
||||||
}
|
}
|
||||||
|
|
||||||
func paginateSorted(path, first, last, queryParams string, regexes *regexes, formats types.Types) (string, error) {
|
func paginateSorted(path, first, last, queryParams string, regexes *regexes, formats types.Types) (string, error) {
|
||||||
|
|
Loading…
Reference in New Issue