[REBOL] Re: set-net crash with unusual account name
From: Gary:Jones:usap:gov at: 19-Apr-2004 11:40
Hi, Bry,
As you might have noticed in a separate thread, REBOL generally correctly parses correctly
formed URL's but not all websites seem to conform to the standard. The net-utils parsing
rules *sometimes* can be patched to allow the url to be parsed. I have tried the patch
for this character and it appears to parse. Watch for line wrap.
net-utils/url-parser/user-char: union net-utils/url-parser/user-char make bitset! "\"
such that
a: read pop://user\domain:[password--smtp--dom]
yields user of "user\domain"
and password of "password"
An alternative is mentioned in the other email that I sent, namely, directly set the
user name in the POP protocol.
Hope this helps!
--Scott Jones