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:
parent
71adb0e6cc
commit
c16c4d06c7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user