1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05: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 Witold Filipczyk
parent 71adb0e6cc
commit c16c4d06c7

View File

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