ZeitOnline / content-api

The ZEIT ONLINE content API
http://developer.zeit.de
Other
28 stars 3 forks source link

Keywords containing slashes lead to 404s #17

Closed cutoffthetop closed 11 years ago

cutoffthetop commented 11 years ago

Keywords and possibly other metadata containing slashes do not escape them properly and produce 404 errors.

Example:

{"href": "http://www.zeit.de/schlagworte/organisationen/buendnis-90%2Fdie-gruenen/index",
"lexical": "Bündnis 90/Die Grünen",
"uri": "http://api.zeit.de/keyword/buendnis-90%2Fdie-gruenen",
"value": "Bündnis 90/Die Grünen",
"score": 0,
"type": "organization",
"id": "buendnis-90%2Fdie-gruenen"}
cutoffthetop commented 11 years ago

Keyword IDs have been revised and properly escaped.