Hyperdev replaces `//` with `/` in requests to my app


#1

My app is running here.

The api is a url shortener and takes a url in the request. I have a regex to verify it is a valid url starting with htt(ps|p):\/\/. However, the // is replaced by / in the request, so the regex does not match and returns an error to the user.

Would welcome any ideas of what I can do to help this.


#2

This can be closed/deleted.

It was due to how I was processing the url.


#3

Hi Bouncey,

Glad you got it sorted out! :slight_smile: