1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-01 03:36:26 -04:00

smb: Do not encode ' ' as %20 in base href.

This commit is contained in:
Witold Filipczyk 2007-01-26 20:46:27 +01:00 committed by Kalle Olavi Niemitalo
parent 36477ffa45
commit 28fcc17564

View File

@ -63,7 +63,7 @@ init_directory_listing(struct string *page, struct uri *uri)
&& !add_char_to_string(&dirpath, local ? CHAR_DIR_SEP : '/'))
goto out_of_memory;
if (local || uri->protocol == PROTOCOL_GOPHER) {
if (local || uri->protocol == PROTOCOL_GOPHER || uri->protocol == PROTOCOL_SMB) {
/* A little hack to get readable Gopher names. We should find a
* way to do it more general. */
decode_uri_string(&dirpath);