Ehesp/Steam-Login

Why use & to build http query?

Closed this issue · 4 comments

Is there any particular reason why & is used instead of &?
https://github.com/Ehesp/Steam-Login/blob/master/src/Ehesp/SteamLogin/SteamLogin.php#L55

Loading the openid provider with & as the separator will get redirected back to homepage and it doesn't work.

Ehesp commented

Uhh nope, never had issues with that myself but I do see potential problems. I can sort that.

Thanks.

I'm doing a PHP 302 redirect when user is accessing materials that requires authenticated users.
Replacing & with & works though but just curious why do you need to use html entity in a URL.

Ehesp commented

df59992

Yeah no idea haha, changed anyway.

Awesome. Appreciate it.