[patch] bugfix for strip_password

Jindrich Makovicka makovick at kmlinux.fjfi.cvut.cz
Thu Aug 26 08:22:59 UTC 2004


Hi,

In current mc, strip_password misbehaves for URLs like

/#ftp:user:pass at hostname/path/path/path

which makes mc display only the string in the form

/#ftp:user at hostname

in the title bar, instead of (IMHO correct)

/#ftp:user at hostname/path/path/path

The attached patch attempts to re-implement the function with the 
correct behavior.

-- 
Jindrich Makovicka
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: util.c.diff
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20040826/d4bd48ea/attachment.diff>


More information about the mc-devel mailing list