Differences From:
File
src/zip.c
part of check-in
[417dd898ab]
- Allow an alternative URL syntax for downloading artifacts via the /zip page.
The original way is:
http://localhost:8080/zip/fa6e9930177e84ce089b30ad768c454a012364f7.zip
which will store the artifact in the file a6e9930177e84ce089b30ad768c454a012364f7.zip.
Alternatively it is now possible to download the artifact in e.g. the file fossil.zip via the URL:
http://localhost:8080/zip/fossil.zip?rid=fa6e9930177e84ce089b30ad768c454a012364f7
by
hintze on
2008-08-13 11:57:17.
[view]
To:
File
src/zip.c
part of check-in
[5fb14b9a0f]
- Include non-sym- tags in tagview web page. Also merge mainline into tagview branch.
by
eric on
2008-08-21 20:59:01.
Also file
src/zip.c
part of check-in
[81a96aadf3]
- Change CGI parameter name rid to uuid for the /zip URL.
by
cle on
2008-08-17 11:37:15.
[view]
@@ -360,9 +360,9 @@
login_check_credentials();
if( !g.okZip && (!g.okRead || !g.okHistory) ){ login_needed(); return; }
zName = mprintf("%s", PD("name",""));
nName = strlen(zName);
- zRid = mprintf("%s", PD("rid",""));
+ zRid = mprintf("%s", PD("uuid",""));
nRid = strlen(zRid);
for(nName=strlen(zName)-1; nName>5; nName--){
if( zName[nName]=='.' ){
zName[nName] = 0;