From 28fcc175644eb4a38138505abe46066a98bce705 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Fri, 26 Jan 2007 20:46:27 +0100 Subject: [PATCH] smb: Do not encode ' ' as %20 in base href. --- src/protocol/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocol/common.c b/src/protocol/common.c index f3f1bb28..d4d2de5a 100644 --- a/src/protocol/common.c +++ b/src/protocol/common.c @@ -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); -- 2.11.4.GIT