I am trying to do the following in a RESTful manner:
I have a web service that accepts an id to deliver a particular
record. Unfortunately, the id that the client will have is not the
usual database sequence number. This mostly works, though, and the
looks something like:
That is handled by the "show" action.
Unfortunately, some of the ids that will be passed contain special
characters. I can require that they be encrypted, but the period
to be having a problem. In other words, if the id is "the+id. value",
the url should be:
where the plus, period and space are transformed. This works for the
plus and space, but the period causes the rest of url to be
the "format" parameter.
I've tried on two different servers, running the same version of
rails. One accepts the above url and one doesn't.
I've tried to figure out what is different about the servers. Could
this be caused by an Apache configuration difference? Or a Passenger
difference? I could use a hint about where the transformation of the
%2e to period takes place.