Ask coding questions

← Back to all posts
Bug in repl, and how to fix?

(Cannot post on bugs board right now).
Repl's router changes // to / in url. Im making a unblocker for (cuz its faster the firefox for me). So, the site has to be: I need those 2 //'s, however, due to the bug, I cannot redirect to that site. How can I fix this?

Answered by SixBeeps (5221) [earned 5 cycles]
View Answer
SixBeeps (5221)

Just use a formatted query string using G instead of /


@SixBeeps wait how? And why G instead of /?

SixBeeps (5221)

@TaylorLiang My bad, I found a bug in my Repl Ask Client, and it turned "%47" into "G" xD

I was incorrect, though. Use %2F instead. That's the URL Encoding character for a forward slash.


@SixBeeps It still gives a too many redirects error when doing that. Also, what Repl Ask Client?

SixBeeps (5221)

@TaylorLiang I made a Repl Ask client for answering questions faster, but I'm keeping it restricted rn for a few reasons.
As for the error, are you encoding the entire URL or just the last part of it? (What URL is in your address bar and what URL does your server recognize?)


@SixBeeps Its fixed now, (he published 2.0.5 to fix the issue with replit)

KamdenKrieser (0)

what is a good proxy i can use