On Thu, Apr 3, 2008 at 10:49 PM, Christoph Eckert <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>  > >  wasn't there a db issue with semikoli in values when applied to nodes?
>  >
>  > There was, it's been fixed.
>
>  cool. Just for my personal interest: are tags for nodes now saved in a
>  separate table or how has it been solved?
>

The API just properly escapes the semi-colons before putting them in the string.
So "key" -> "myval;=\", "key2" -> "val" becomes: "key=myval\s\e\\;key2=val".
This is unescaped again when returning.

Code is here: http://trac.openstreetmap.org/browser/sites/rails_port/lib/tags.rb

_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk

Reply via email to