Differences From Artifact [ed83ab15e6]:
- File src/chat.c — part of check-in [02961b8078] at 2020-12-24 17:10:24 on branch trunk — Disable CSP for /chat with a ping= query parameter. This is a drastic measure to get the feature working. We can work on providing a better solution later. (user: drh size: 19069)
To Artifact [41c8f7446d]:
- File src/chat.c — part of check-in [6f4fdfcd6f] at 2020-12-24 18:46:38 on branch trunk — Fix chat so that it detects hyperlinks at the end of a chat message. (user: drh size: 19057)
| ︙ | |||
297 298 299 300 301 302 303 | 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 | - + |
j = k+1;
continue;
}
}else if( zSafe[i]=='h'
&& (strncmp(zSafe+i,"http:",5)==0
|| strncmp(zSafe+i,"https:",6)==0) ){
for(k=i+1; zSafe[k] && !fossil_isspace(zSafe[k]); k++){}
|
| ︙ |