Fossil SCM

Allow browsing of directories whose names contain characters that must be escaped for HTML.

drh 2011-08-22 19:02 trunk
Commit 1ec0739c4bb054aea369f5713dd9925b1906a816
1 file changed +1 -1
+1 -1
--- src/browse.c
+++ src/browse.c
@@ -146,11 +146,11 @@
146146
/* Compute the title of the page */
147147
blob_zero(&dirname);
148148
if( zD ){
149149
blob_append(&dirname, "in directory ", -1);
150150
hyperlinked_path(zD, &dirname, zCI);
151
- zPrefix = mprintf("%h/", zD);
151
+ zPrefix = mprintf("%s/", zD);
152152
}else{
153153
blob_append(&dirname, "in the top-level directory", -1);
154154
zPrefix = "";
155155
}
156156
if( zCI ){
157157
--- src/browse.c
+++ src/browse.c
@@ -146,11 +146,11 @@
146 /* Compute the title of the page */
147 blob_zero(&dirname);
148 if( zD ){
149 blob_append(&dirname, "in directory ", -1);
150 hyperlinked_path(zD, &dirname, zCI);
151 zPrefix = mprintf("%h/", zD);
152 }else{
153 blob_append(&dirname, "in the top-level directory", -1);
154 zPrefix = "";
155 }
156 if( zCI ){
157
--- src/browse.c
+++ src/browse.c
@@ -146,11 +146,11 @@
146 /* Compute the title of the page */
147 blob_zero(&dirname);
148 if( zD ){
149 blob_append(&dirname, "in directory ", -1);
150 hyperlinked_path(zD, &dirname, zCI);
151 zPrefix = mprintf("%s/", zD);
152 }else{
153 blob_append(&dirname, "in the top-level directory", -1);
154 zPrefix = "";
155 }
156 if( zCI ){
157

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button