[OSM-dev] usernames, keys, and values

Tom Hughes tom at compton.nu
Thu Oct 29 00:22:50 GMT 2009


On 29/10/09 00:09, Anthony wrote:

> I'm not concerned about what is allowed in the XML requests and
> responses.  I'm concerned about what's allowed in an OSM username,
> [tag] key, and [tag] value.
>
> I just tried changing my display name to "<b>hello</b>".  I get an
> error "Display Name is invalid".

Because display names are used in URLs so URL special characters are 
prohibited:

http://trac.openstreetmap.org/browser/sites/rails_port/app/models/user.rb#L29

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/




More information about the dev mailing list