Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | The default user capability string for the test-http command — used by ssh:// URLs despite the "test-" prefix! — is now "sxy" to grant all permissions as claimed in the docs. While this is objectively correct, it doesn't solve the actual problem I was chasing, being UV sync failure over SSH per [forum:/forumpost/b121db582ee1ed2c | a recent forum post]. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
129e39587803da00f6bd23427b341ac7 |
| User & Date: | wyoung 2021-07-23 19:35:21.533 |
References
|
2021-09-08
| ||
| 13:41 | Fix UV sync so that it works over SSH. [forum:/forumpost/b121db582ee1ed2c|Forum thread b121db582ee1ed2c]. See also the earlier attempt to fix this at [129e39587803da00]. check-in: b11359c4bf user: drh tags: trunk | |
Context
|
2021-07-23
| ||
| 19:48 | Comment typo fix in previous check-in: ec5efceb8a user: wyoung tags: trunk | |
| 19:35 | The default user capability string for the test-http command — used by ssh:// URLs despite the "test-" prefix! — is now "sxy" to grant all permissions as claimed in the docs. While this is objectively correct, it doesn't solve the actual problem I was chasing, being UV sync failure over SSH per [forum:/forumpost... check-in: 129e395878 user: wyoung tags: trunk | |
|
2021-07-22
| ||
| 23:08 | Enhance the /vdiff page to understand the nc (no-color) query parameter and to do a better job of preserving query parameter choices when clicking on other display options. check-in: 2e51bb9b03 user: drh tags: trunk | |
Changes
Changes to src/main.c.
| ︙ | ︙ | |||
2733 2734 2735 2736 2737 2738 2739 | ** ** COMMAND: test-http ** ** Works like the [[http]] command but gives setup permission to all users. ** ** Options: ** --th-trace Trace TH1 execution (for debugging purposes) | | | | 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 |
**
** COMMAND: test-http
**
** Works like the [[http]] command but gives setup permission to all users.
**
** Options:
** --th-trace Trace TH1 execution (for debugging purposes)
** --usercap CAP User capability string (Default: "sxy`")
**
*/
void cmd_test_http(void){
const char *zIpAddr; /* IP address of remote client */
const char *zUserCap;
Th_InitTraceLog();
zUserCap = find_option("usercap",0,1);
if( zUserCap==0 ){
g.useLocalauth = 1;
zUserCap = "sxy";
}
login_set_capabilities(zUserCap, 0);
g.httpIn = stdin;
g.httpOut = stdout;
fossil_binary_mode(g.httpOut);
fossil_binary_mode(g.httpIn);
g.zExtRoot = find_option("extroot",0,1);
|
| ︙ | ︙ |