Picolab / devtools

Repository for KRL Developer Tools
MIT License
6 stars 4 forks source link

Client Update Page sometimes won't load #95

Closed AngelSassin closed 8 years ago

AngelSassin commented 8 years ago

Because client attributes are passed through the URL to fill the fields of the Update page, if any URL contains the / character, the page will not load due to an invalid URL.

The current solution is to replace the / character with its URL code, %2F, but this hasn't been implemented for the callback URL.

uploads/f9ce0fc9-dc32-432f-bcd3-950917af78e7/blob

AngelSassin commented 8 years ago

An example URL used to enter the Client Update page would be:

http://kre.github.io/devtools/update-client ?client=3CF6B3C4-1C69-11E6-8C0A-C2A9E71C24E1 &appName=Name &appDesc=Description &appImg=www.example.com/images/logo.png &appCb=www.example.com/ &appDec=www.example.com/declined &appInfo=www.example.com/info &appRids=b507707x99.prod,b507707x98.prod

Because the / character doesn't seem to be accepted in the query string after the ?, all instances of / have been changed to %2F. Fixed.