Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"nodename" escape character does not seem to be fixed yet #7

Open
ghost opened this issue Jun 29, 2020 · 0 comments
Open

"nodename" escape character does not seem to be fixed yet #7

ghost opened this issue Jun 29, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 29, 2020

I have just found that [] haven't replaced with "[" and "]" after I deployed it on my hosting. It looks weird when I have [] in the nodename. See sample at https://status.qnid.cc
Otherwise, I found it uses replace function in the js to replace urls. I believe we can do it with nodename. However, I can't determine which variable is associated with nodename. Could you help me check that? Thanks
return encodeURIComponent(e).replace(/%40/gi, "@").replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants