[OSM-dev] [API] What characters to escape in tag keys/values?
cbro at semperpax.com
Sat Dec 31 03:03:35 GMT 2011
On Fri, Dec 30, 2011 at 17:01, Chris Browet <cbro at semperpax.com> wrote:
> On Fri, Dec 30, 2011 at 16:50, Frederik Ramm <frederik at remote.org> wrote:
>> On 12/30/11 16:19, Chris Browet wrote:
>>> Here is an osmchange showing th issue:
>> I can confirm this (trying to upload using a perl script against
>> api06.dev). "500 Internal Server Error" with the percent sign, and
>> uploading fine without.
>> Thanks Frederik.
> Ticket http://trac.openstreetmap.org/ticket/4166 created for this.
> - Chris -
For reference, this is due to not setting the "Content-Type" to "text/xml".
According to Matt, Rails assumes percent as an escape character otherwise.
Sorry for the noise
- Chris -
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dev