Fossil

Check-in [57276a518a]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:When emitting the default password as part of the 'new' command, add the term 'remote-access' to it to clarify that it's only for remote use. Indirectly suggested by [forum:9dbd8e00ee|forum post 9dbd8e00ee].
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 57276a518ad6449d415b7295b5f42b922123997b1f23b0a27185918aa4f8e6d7
User & Date: stephan 2025-04-23 10:46:27.404
Context
2025-04-23
12:51
Fix string comparison between tainted and untainted strings in TH1. [forum:/forumpost/6ab1c36a80|Forum post 6ab1c36a80]. check-in: 45f3a45f3d user: drh tags: trunk
10:46
When emitting the default password as part of the 'new' command, add the term 'remote-access' to it to clarify that it's only for remote use. Indirectly suggested by [forum:9dbd8e00ee|forum post 9dbd8e00ee]. check-in: 57276a518a user: stephan tags: trunk
2025-04-22
19:34
Fix another problem with lappend and taint. See [forum:/forumpost/94b7485f464bd3a1|forum post 94b7485f4] for a description of the problem. check-in: aa66767bac user: drh tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/db.c.
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
  db_end_transaction(0);
  if( zTemplate ) db_detach("settingSrc");
  if( zProjectName ) fossil_print("project-name: %s\n", zProjectName);
  if( zProjectDesc ) fossil_print("project-description: %s\n", zProjectDesc);
  fossil_print("project-id: %s\n", db_get("project-code", 0));
  fossil_print("server-id:  %s\n", db_get("server-code", 0));
  zPassword = db_text(0, "SELECT pw FROM user WHERE login=%Q", g.zLogin);
  fossil_print("admin-user: %s (initial password is \"%s\")\n",
               g.zLogin, zPassword);
  hash_user_password(g.zLogin);
}

/*
** SQL functions for debugging.
**







|







3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
  db_end_transaction(0);
  if( zTemplate ) db_detach("settingSrc");
  if( zProjectName ) fossil_print("project-name: %s\n", zProjectName);
  if( zProjectDesc ) fossil_print("project-description: %s\n", zProjectDesc);
  fossil_print("project-id: %s\n", db_get("project-code", 0));
  fossil_print("server-id:  %s\n", db_get("server-code", 0));
  zPassword = db_text(0, "SELECT pw FROM user WHERE login=%Q", g.zLogin);
  fossil_print("admin-user: %s (initial remote-access password is \"%s\")\n",
               g.zLogin, zPassword);
  hash_user_password(g.zLogin);
}

/*
** SQL functions for debugging.
**