Account editor
Sean Egan
seanegan at gmail.com
Sat Jul 28 16:16:18 EDT 2007
On 7/28/07, Etan Reisner <pidgin at unreliablesource.net> wrote:
> No, it isn't hard it just will tend to not be what people expect. The
> correct way to interpret 'foo at mail@server.com' input as a JID is to parse
> it into Screenname: 'foo' Domain: 'mail at server.com' which is almost
> decidedly not what the user expected or wanted. But parsing it the other
> way is broken because @ is not a valid character in the node portion of a
> JID. Which means that in order for someone to correctly enter that JID
> they would need to understand how to correctly escape @ in a node (which
> is to use \40) and put it in as 'foo\40mail at server.com'.
You're saying that if we tried to parse it,we'd wind up with
'foo at mail' as the node and not be able to handle that. How is this at
all different from the user entering "foo at mail" in the 'node' (or
'screenname') box?
This doesn't seem like a hard problem for a computer to solve; indeed
it seems exactly as if it were designed to be solved by computers,
rather than people.
-s.
More information about the Devel
mailing list