Project

General

Profile

« Previous | Next » 

Revision 75e617ae

Added by Olivier Favre almost 12 years ago

  • ID 75e617aed25b2db33bfb903e6a9c0d7dcd5d334e

Fix / in smart-variable param representation

The slash in the to_param representation was misleading ActionPack
to believe into an additional REST nesting level.

Three possible fixes to that problem:
1) Patch ActionPack to url escape, if appropriate
2) Replace the slash by a neutral character
3) Escape the slash, into %2F.
Actually escape twice, into %252F...

I chose the second solution, using a backslash.

  • added
  • modified
  • copied
  • renamed
  • deleted