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

Overview
Comment:Fix a typos and improve the wording on the failure-to-upgrade-to-HTTPS error screen.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:01984ee0d22b540669a6a57d3ac3c9ad6e6bcbdb68b0874cc01a8097011aa249
User & Date: drh 2018-02-16 19:57:35
Context
2018-02-23
18:45
Fix the mtime computation for "fossil all ui" on windows. check-in: 219f3e6b user: drh tags: trunk
2018-02-16
19:57
Fix a typos and improve the wording on the failure-to-upgrade-to-HTTPS error screen. check-in: 01984ee0 user: drh tags: trunk
16:28
Fix segfault when accessing the initial checkin directory on a fusefs mounted repository. check-in: 55f6c765 user: drh tags: trunk
Changes

Changes to src/login.c.

500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
  char *zSha1Pw;
  const char *zIpAddr;         /* IP address of requestor */
  const char *zReferer;

  login_check_credentials();
  if( login_wants_https_redirect() ){
    const char *zQS = P("QUERY_STRING");
    if( P("redir")!=0 || g.sslNotAvailable ){
      style_header("Insecure Connection");
      @ <h1>Unable To Establish An Encrypted Connection</h1>
      @ <p>This website requires that login credentials be sent over
      @ an encrypted connection.  The current connection, however, is
      @ is not encrypted all the way from your browser to the server.
      @ A prior attempt was made to redirect to %h(g.zHttpsURL) but
      @ the connection is still insecure even after the redirect.</p>
      @ <p>This is probably some kind of configuration problem.  Please
      @ contact your sysadmin.</p>
      @ <p>Sorry it didn't work out.</p>
      style_footer();
      return;
    }







|



|
|
|







500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
  char *zSha1Pw;
  const char *zIpAddr;         /* IP address of requestor */
  const char *zReferer;

  login_check_credentials();
  if( login_wants_https_redirect() ){
    const char *zQS = P("QUERY_STRING");
    if( P("redir")!=0 ){
      style_header("Insecure Connection");
      @ <h1>Unable To Establish An Encrypted Connection</h1>
      @ <p>This website requires that login credentials be sent over
      @ an encrypted connection.  The current connection is not encrypted
      @ across the entire route between your browser and the server.
      @ An attempt was made to redirect to %h(g.zHttpsURL) but
      @ the connection is still insecure even after the redirect.</p>
      @ <p>This is probably some kind of configuration problem.  Please
      @ contact your sysadmin.</p>
      @ <p>Sorry it didn't work out.</p>
      style_footer();
      return;
    }