CityOfPhiladelphia / property

Property Search Application
property.phila.gov
BSD 3-Clause "New" or "Revised" License
9 stars 5 forks source link

API breaks on trailing space #2

Open timwis opened 10 years ago

timwis commented 10 years ago

The API returns a 404 if you include a trailing space in string params.

Works: http://services.phila.gov/OPA/v1.0/address/1234%20market/?format=json

Doesn't work: http://services.phila.gov/OPA/v1.0/address/1234%20market%20/?format=json

This is also the case with intersection and block search, which also include strings.

CKiddDev commented 10 years ago

TFS Bug ID 2273

timwis commented 10 years ago

This appears to occur when it ends with a trailing period as well http://services.phila.gov/OPA/v1.0/address/407%20bainbridge%20st./?format=json&limit=30&skip=0