Re: do_smb if auth->password contains '@' or '/'?

Kalle Olavi Niemitalo <[email protected]>
Newsgroups gmane.comp.web.links
Message-ID <[email protected]>
Kalle Olavi Niemitalo <[email protected]> writes:

> - Is it possible to have "@" or '/' in auth->password, or would
>   they have already been converted to "%40" and "%2F" before
>   do_smb runs?

auth->password contains the string as typed by the user in the
auth dialog; it is not converted.

> - If there are multiple @ signs, can libsmbclient parse the URL
>   correctly anyway?

No, libsmbclient will try to connect to the wrong server.

> - Should encode_uri_string be used here instead of add_to_string?

Perhaps, but do_smb also calls decode_uri after this.  That call
should probably be entirely removed.

_______________________________________________
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev
signature.asc (application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGBR5KHm9IGt60eMgRAmk5AKDjN4kLHLFkZXXib98LhOCS5pYk2wCcCYZ3
61f2hGifyrLRrP3Qw9OkPBQ=
=6z/m
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.