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:
parent
36477ffa45
commit
28fcc17564
@ -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