set-net crash with unusual account name
[1/2] from: bry::itnisk::com at: 18-Apr-2004 16:25
Hi,
my email server seems to have unusual
account names, these being in the form of
name \ domain instead of [name--domain].
I also need to have set-net have my login.
[2/2] 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