* util.c (strip_password): Add "/#sh:".
Этот коммит содержится в:
родитель
13998a614c
Коммит
d79d618c6d
@ -1,3 +1,7 @@
|
||||
2004-10-13 Jindrich Novy <jnovy@redhat.com>
|
||||
|
||||
* util.c (strip_password): Add "/#sh:".
|
||||
|
||||
2004-10-12 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||
|
||||
* myslang.h: Check USE_INCLUDED_SLANG properly.
|
||||
|
@ -405,7 +405,7 @@ string_perm (mode_t mode_bits)
|
||||
the password.
|
||||
has_prefix = 1: Search p for known url prefixes. If found delete
|
||||
the password from the url.
|
||||
Cavevat: only the first url is found
|
||||
Caveat: only the first url is found
|
||||
*/
|
||||
char *
|
||||
strip_password (char *p, int has_prefix)
|
||||
@ -417,6 +417,7 @@ strip_password (char *p, int has_prefix)
|
||||
{"/#mc:", 5},
|
||||
{"ftp://", 6},
|
||||
{"/#smb:", 6},
|
||||
{"/#sh:", 5}
|
||||
};
|
||||
char *at, *inner_colon, *dir;
|
||||
size_t i;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user