projects
/
project
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7333a14
)
append / to directory links to avoid unnecessary redirects
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 1 Jan 2013 14:56:05 +0000
(15:56 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 1 Jan 2013 14:56:05 +0000
(15:56 +0100)
file.c
patch
|
blob
|
history
diff --git
a/file.c
b/file.c
index b2cfd8db646c8b2b756aaf458ba6080bc5b443f9..0fb17d61b98209e985befcdf7a3a2e415e5ccc38 100644
(file)
--- a/
file.c
+++ b/
file.c
@@
-468,7
+468,7
@@
static void uh_file_dirlist(struct client *cl, struct path_info *pi)
if (!stat(filename, &s) &&
(s.st_mode & S_IFDIR) && (s.st_mode & S_IXOTH))
uh_chunk_printf(cl,
- "<li><strong><a href='%s%s'>%s</a>/"
+ "<li><strong><a href='%s%s
/
'>%s</a>/"
"</strong><br /><small>modified: %s"
"<br />directory - %.02f kbyte<br />"
"<br /></small></li>",