Overview
| Artifact ID: | 66953a8e3453d420b906e5ef03dbb48d05a3889a |
|---|---|
| Ticket: | 300fc543b24250e25686762a7d8daa2f796590da
Imply "trunk" when no uuid is given to tarball or zip downloads |
| User & Date: | rmax 2012-08-08 10:58:32 |
Changes
- Appended to comment:
<hr /><i>rmax added on 2012-08-08 10:58:32 UTC:</i><br /> The change to implement this is trivial: <pre> --- src/tar.c +++ src/tar.c @@ -581,11 +581,11 @@ login_check_credentials(); if( !g.perm.Zip ){ login_needed(); return; } zName = mprintf("%s", PD("name","")); nName = strlen(zName); - zRid = mprintf("%s", PD("uuid","")); + zRid = mprintf("%s", PD("uuid","trunk")); nRid = strlen(zRid); if( nName>7 && fossil_strcmp(&zName[nName-7], ".tar.gz")==0 ){ /* Special case: Remove the ".tar.gz" suffix. */ nName -= 7; zName[nName] = 0; </pre> I suggest the same for zip archives. - resolution changed to: "Open"
- severity changed to: "Minor"