projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* more fixes, offset in URLS is different now, since we strip the command.
[citadel.git]
/
webcit
/
downloads.c
diff --git
a/webcit/downloads.c
b/webcit/downloads.c
index b0e7cace3a431e099ff085248465ccfd38b5d1b3..c8970ef3a528b2651a1e956b13241809f54db907 100644
(file)
--- a/
webcit/downloads.c
+++ b/
webcit/downloads.c
@@
-249,7
+249,7
@@
void download_file(void)
int force_download = 1;
Buf = NewStrBuf();
- StrBufExtract_token(Buf, WCC->Hdr->ReqLine,
2
, '/');
+ StrBufExtract_token(Buf, WCC->Hdr->ReqLine,
0
, '/');
StrBufUnescape(Buf, 1);
serv_printf("OPEN %s", ChrPtr(Buf));
StrBuf_ServGetln(Buf);