Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix a problem with web-browser launch on Windows for "fossil chat". |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
dcc854a98bac0292eccb5f37fbeaf171 |
| User & Date: | drh 2020-12-24 17:46:15.057 |
Context
|
2020-12-24
| ||
| 18:46 | Fix chat so that it detects hyperlinks at the end of a chat message. check-in: 6f4fdfcd6f user: drh tags: trunk | |
| 17:46 | Fix a problem with web-browser launch on Windows for "fossil chat". check-in: dcc854a98b user: drh tags: trunk | |
| 17:10 | 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. check-in: 02961b8078 user: drh tags: trunk | |
Changes
Changes to src/main.c.
| ︙ | ︙ | |||
2976 2977 2978 2979 2980 2981 2982 |
getpid());
}
#else
/* Win32 implementation */
if( isUiCmd ){
zBrowser = db_get("web-browser", "start");
if( zChat ){
| | | 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 |
getpid());
}
#else
/* Win32 implementation */
if( isUiCmd ){
zBrowser = db_get("web-browser", "start");
if( zChat ){
zBrowserCmd = mprintf("%s %s &", zBrowser, zChat);
}else if( zIpAddr==0 ){
zBrowserCmd = mprintf("%s http://localhost:%%d/%s &",
zBrowser, zInitPage);
}else if( strchr(zIpAddr,':') ){
zBrowserCmd = mprintf("%s http://[%s]:%%d/%s &",
zBrowser, zIpAddr, zInitPage);
}else{
|
| ︙ | ︙ |