Canadian-Geospatial-Platform/geoview-api-geolocator

Regular url separators are not accepted for the API

Closed this issue · 2 comments

Entering two or more tokens for the query parameter raises an error.

During the validation of paramaters against the schema, the single-string parameter for 'q' has the blank spaces (' ') replaced with plus sign ('+').
That save the REST call to throw an exception.

After refactoring code, lambda and API. we got an stable process where this url separator ' '; '+'; '%20' make no problem anymore.