Differences From Artifact [56470ef734]:
- File src/cgi.c — part of check-in [ad51cc61c6] at 2025-05-30 04:27:00 on branch trunk — Enclose ETag header values in double quotes. Suggested in [forum:/forumpost/70bacf5cf8|Forum Post 70bacf5cf8]. (user: florian size: 95394) [more...]
To Artifact [31ef555301]:
- File src/cgi.c — part of check-in [b49c9b3685] at 2025-07-21 23:45:08 on branch xfer-login-card — Move the X-Fossil-Xfer-Login header check to the correct end of the connection. It is receiving these from libfossil tests but is failing to validate them, but that may well be a bug in that brand new downstream code. (user: stephan size: 95576)
| ︙ | |||
2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 | 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 | + + + |
}else if( fossil_strcmp(zFieldName,"range:")==0 ){
int x1 = 0;
int x2 = 0;
if( sscanf(zVal,"bytes=%d-%d",&x1,&x2)==2 && x1>=0 && x1<=x2 ){
rangeStart = x1;
rangeEnd = x2+1;
}
}else if( fossil_strcmp(zFieldName, "x-fossil-xfer-login:")==0 ){
g.zLoginCard = fossil_strdup(zVal);
/*fprintf(stderr, "X-Fossil-Xfer-Login: %s\n", g.zLoginCard);*/
}
}
cgi_setenv("REQUEST_SCHEME",zScheme);
cgi_init();
cgi_trace(0);
}
|
| ︙ |