mikekelly / hal-browser

An API browser for the hal+json media type
MIT License
835 stars 157 forks source link

Fix after-POST handling of resource URL #68

Closed gregturn closed 8 years ago

gregturn commented 9 years ago

HAL.normalizeUrl() in the response-headers-template is trying to normalize a URL after encoding it. This behavior causes forward slashes to get encoded into HTTP entities that URI.js can't read. This aptch removes the _.escape() wrapper around "value" and restores functionality.