forked from extern/fediwall
Do not escape / in query strings
This commit is contained in:
parent
cd183e14c8
commit
2afc9f41d2
@ -198,8 +198,9 @@ export function toQuery(config: Config, userConfig?: string): string {
|
||||
}
|
||||
|
||||
return params.toString()
|
||||
.replace(/%2C/g, ',')
|
||||
.replace(/%40/g, '@')
|
||||
.replace(/%2F/g, '/') // save in query strings
|
||||
.replace(/%2C/g, ',') // save in query strings
|
||||
.replace(/%40/g, '@') // save in query strings
|
||||
.replace(/=(&|$)/g, '') // a=&b= -> a&b
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user