Duncan Mac-Vicar Prett wrote:
> Ladislav Slezak wrote:
>> Fortunately libzypp hides the password by default so there should not be many
>> places which logs a full URL.
>>   
> Yes, the asString method hides it, but there is one method available
> that display it "as it is".

zypp::Url::asCompleteString() is used only in Pkg::SourceURL() and
Pkg::ServiceURL(). So you have to explicitly request the full URL if you need 
it.

Also URLs in the product map (e.g. key "relnotes_urls") returned by
Pkg::SourceProductData() and Pkg::ResolvableProperties(`product) are complete.

All other bindings return URL without password.

--

Best Regards

Ladislav Slezák
Yast Developer
------------------------------------------------------------------------
SUSE LINUX, s.r.o.                              e-mail: [EMAIL PROTECTED]
Lihovarská 1060/12                              tel: +420 284 028 960
190 00 Prague 9                                 fax: +420 284 028 951
Czech Republic                                  http://www.suse.cz/
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to