Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Change CGI parameter name <tt>rid</tt> to <tt>uuid</tt> for the <tt>/zip</tt> URL. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
81a96aadf326aa6d15b2925694331633 |
| User & Date: | cle 2008-08-17 11:37:15.000 |
Context
|
2008-08-21
| ||
| 20:59 | Include non-sym- tags in tagview web page. Also merge mainline into tagview branch. ... (check-in: 5fb14b9a0f user: eric tags: eric-tagview-rework, trunk) | |
| 19:57 | Include 'z' in login_has_capability() ... (check-in: 018b6050af user: eric tags: trunk) | |
|
2008-08-17
| ||
| 11:37 | Change CGI parameter name <tt>rid</tt> to <tt>uuid</tt> for the <tt>/zip</tt> URL. ... (check-in: 81a96aadf3 user: cle tags: trunk) | |
|
2008-08-15
| ||
| 18:48 | Thanks for the fix, eric. Due to that, I detected another HTML quirk I made ands corrected it now. ... (check-in: f85bc24e4d user: cle tags: trunk) | |
Changes
Changes to src/info.c.
| ︙ | ︙ | |||
362 363 364 365 366 367 368 |
@ <a href="%s(g.zBaseURL)/timeline?p=%d(rid)">ancestors</a>
@ | <a href="%s(g.zBaseURL)/timeline?d=%d(rid)">descendants</a>
@ | <a href="%s(g.zBaseURL)/timeline?d=%d(rid)&p=%d(rid)">both</a>
@ </td></tr>
@ <tr><th>Commands:</th>
@ <td>
@ <a href="%s(g.zBaseURL)/vdiff/%d(rid)">diff</a>
| | | 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 |
@ <a href="%s(g.zBaseURL)/timeline?p=%d(rid)">ancestors</a>
@ | <a href="%s(g.zBaseURL)/timeline?d=%d(rid)">descendants</a>
@ | <a href="%s(g.zBaseURL)/timeline?d=%d(rid)&p=%d(rid)">both</a>
@ </td></tr>
@ <tr><th>Commands:</th>
@ <td>
@ <a href="%s(g.zBaseURL)/vdiff/%d(rid)">diff</a>
@ | <a href="%s(g.zBaseURL)/zip/%s(zProjName)-%s(zShortUuid).zip?uuid=%s(zUuid)">
@ ZIP archive</a>
@ | <a href="%s(g.zBaseURL)/artifact/%d(rid)">manifest</a>
if( g.okWrite ){
@ | <a href="%s(g.zBaseURL)/vedit?r=%d(rid)">edit</a>
}
@ </td>
@ </tr>
|
| ︙ | ︙ |
Changes to src/zip.c.
| ︙ | ︙ | |||
357 358 359 360 361 362 363 |
int nName, nRid;
Blob zip;
login_check_credentials();
if( !g.okZip && (!g.okRead || !g.okHistory) ){ login_needed(); return; }
zName = mprintf("%s", PD("name",""));
nName = strlen(zName);
| | | 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 |
int nName, nRid;
Blob zip;
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("uuid",""));
nRid = strlen(zRid);
for(nName=strlen(zName)-1; nName>5; nName--){
if( zName[nName]=='.' ){
zName[nName] = 0;
break;
}
}
|
| ︙ | ︙ |