MrDys / blacklight

Blacklight Plugin
http://projectblacklight.org/
Other
1 stars 1 forks source link

Folder feature broken with ids containing slashes #543

Open MrDys opened 12 years ago

MrDys commented 12 years ago

CODEBASE-372: Erik Hatcher has Solr unique key values that are URLs, e.g.: http://wiki.apache.org/apachecon/SanderTemme

The select item request sends this pull request: PUT "/folder/http://wiki.apache.org/apachecon/SanderTemme"

But, the Rails URL parsing mangles it to: Parameters: {"utf8"=>"✓", "authenticity_token"=>"AS+Pc4YE0665ufu8DcVbFP4GuOFQYa8LL6T8T4JzV90=", "bookmark"=>{"title"=>""}, "id"=>"http:/wiki.apache.org/apachecon/SanderTemme"}

(note the missing slash in 'id')

MrDys commented 12 years ago

Original reporter: cbeer