qwc-services / qwc-ogc-service

QWC OGC service
MIT License
3 stars 9 forks source link

Quote URL query parameter when redirecting to the login page #24

Closed HusseinKabbout closed 3 months ago

HusseinKabbout commented 3 months ago

Without this, the auth service would only recognize a part of the URL as the return URL and redirect to a false location after login.

Reason for this are the "&" that are interpretet wrongly because they are not escaped

manisandro commented 3 months ago

Thanks, can you submit the same also for the map-viewer service?

HusseinKabbout commented 3 months ago

You already fixed it there with https://github.com/qwc-services/qwc-map-viewer/commit/c42b7d1f17c10a91cbf3004c12cc400b131dbe33 :D

manisandro commented 3 months ago

Oh, ok!