mirror of
https://github.com/defnull/fediwall.git
synced 2024-11-25 09:03:16 +01:00
fix: Do not escape @ in generated URLs
This commit is contained in:
parent
61af1d552c
commit
6c72830545
@ -38,7 +38,7 @@ export function toQuery(config: Config): string {
|
|||||||
if (config.theme !== defaults.theme) params.set("theme", config.theme)
|
if (config.theme !== defaults.theme) params.set("theme", config.theme)
|
||||||
if (config.info !== defaults.info) params.set("info", config.info)
|
if (config.info !== defaults.info) params.set("info", config.info)
|
||||||
if (config.server !== defaults.server) params.set("server", config.server)
|
if (config.server !== defaults.server) params.set("server", config.server)
|
||||||
return params.toString().replace(/%2C/g, ',')
|
return params.toString().replace(/%2C/g, ',').replace(/%40/g, '@')
|
||||||
}
|
}
|
||||||
|
|
||||||
function isTag(tag: string) {
|
function isTag(tag: string) {
|
||||||
|
Loading…
Reference in New Issue
Block a user