url wrong: url has two slash so that cannot be directed to the right page.
See original GitHub issueDescribe the bug
A clear and concise description of what the bug is.
url in xxx.disqus.com/admin/moderate/approved
has two slash(//), which makes it unable to render the comment area. Besides, when using shared links, the same reason will make a same trouble. For more detials, please see here and here.
To Reproduce
Steps to reproduce the behavior:
- Go to
casbin.org
orcrystal-lang.org
- leave a comment using disqus
- copy share link
- open share link
- The url will have two slash. For example:
casbin.org//xxx/yyy/zz
Expected behavior
A clear and concise description of what you expected to happen.
The url should have only one slash. For example: “xxxxx.org/yy/zz”
Screenshots
If applicable, add screenshots to help explain your problem.
Please see the two PRs above.
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (5 by maintainers)
Top Results From Across the Web
Issue 339054: sometimes incorrectly appends slash on URLs ...
The problem is almost certainly, as others have said, in the omni-box. The version of the URL that has the slash is present...
Read more >URL contains a double slash | Sitebulb
A double slash in the URL path is valid and will respond in the browser, but is typically unwelcome, as this could cause...
Read more >Why google shows the wrong URL with an ending slash in the ...
I checked every url path in my code, made a 301 redirect with htaccess to the right url (without the ending slash), checked...
Read more >Do browsers ignore slashes in URLs? - Stack Overflow
Note that browsers don't usually modify the URL. Browsers could append a / at the end of a URL, but in your case,...
Read more >"Double slash in URL" error in Site Audit | Help Center - Ahrefs
Why is it important? ... Most servers are already set up to ignore multiple slashes in the URL path. However, these URLs may...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@hsluoyz Is that a thread that you’ve already updated the URL for using the URL Mapper I mentioned earlier? Also, could you provide a link to a newly created thread where you’re seeing the issue?
@tterb thanks for the help! I confirmed that the issue has been fixed. Feel free to close this issue 😃