Differences From Artifact [95ab719e5a]:
- File src/url.c — part of check-in [4c3e1728e1] at 2025-07-23 15:58:49 on branch trunk — Minor optimization: replace calls to mprintf("%s", X) with fossil_strdup(X). (user: danield size: 27706)
To Artifact [79829c649e]:
- File src/url.c — part of check-in [18628904c3] at 2025-07-27 11:07:38 on branch trunk — Teach the sync protocol how to work with an out-of-band login card, saving an extra server-side copy of the sync content which is required only to account for an inlined login card. i.e. it saves RAM, potentially lots of it. The new login card mechanism is instead transported via an HTTP header. This also, not coincidentally, simplifies implementation of the login card in non-fossil(1) clients which are currently learning to speak the sync protocol. (user: stephan size: 27712) [more...]
| ︙ | |||
231 232 233 234 235 236 237 | 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 | - + |
dehttpize(pUrlData->name);
pUrlData->path = fossil_strdup(&zUrl[i]);
for(i=0; pUrlData->path[i] && pUrlData->path[i]!='?'; i++){}
if( pUrlData->path[i] ){
pUrlData->path[i] = 0;
i++;
}
|
| ︙ |