Change #1056

SITE_URL should (probably) always refer to HTTPS

Added by wrygiel over 2 years ago. Updated almost 2 years ago.

Status:erledigt% Done:

100%

Priority name:2 mittel
Assignee:teiling88
Target version:Version 3.1.5
Ticket Referenz: Kategorien:okapi

Description

OKAPI's setting named "SITE_URL" should contain the preferred scheme/protocol in which you want developers to access your site.

https://github.com/opencaching/okapi/blob/3b7a5b1afabf4c853df558934388a5fc9ba6bb08/okapi/settings.php#L136

However, I think that currently your value of SITE_URL is determined dynamically, based on the protocol used during the request. This seems wrong. Shouldn't you just set "SITE_URL" to "https://www.opencaching.de/"?

2017-06-15 19_29_00-- https___www.opencaching.de_.png (64 KB) wrygiel, 06/15/2017 19:30

2017-06-15 19_29_36-- https___www.opencaching.de_.png (63.8 KB) wrygiel, 06/15/2017 19:30

73
74

History

#1 Updated by teiling88 about 2 years ago

  • Assignee set to teiling88
  • Target version set to Version 3.1.4

#2 Updated by teiling88 about 2 years ago

  • Status changed from neu to erledigt
  • % Done changed from 0 to 100

We changed today that all requests go to https via redirect. So this issue should be fixed.

#3 Updated by following almost 2 years ago

  • Status changed from erledigt to offen
  • Assignee changed from teiling88 to following
  • Target version changed from Version 3.1.4 to Version 3.1.5
  • % Done changed from 100 to 0
  • Kategorien set to okapi

http://www.opencaching.de/okapi is back, so are the different SITE_URLs.

#4 Updated by following almost 2 years ago

  • Status changed from offen to in Arbeit
  • Assignee changed from following to teiling88

#5 Updated by teiling88 almost 2 years ago

  • Status changed from in Arbeit to erledigt
  • % Done changed from 0 to 100

Also available in: Atom PDF