]> git.openstreetmap.org Git - rails.git/commit
Secure cookies only when HTTPS expected
authorPablo Brasero <pablo@pablobm.com>
Mon, 6 Oct 2025 15:57:34 +0000 (16:57 +0100)
committerPablo Brasero <pablo@pablobm.com>
Mon, 6 Oct 2025 15:58:22 +0000 (16:58 +0100)
commit8f7fadf98151511defbeb49b1a3b5e0858a4eecb
treeb9c1d2305dd2e76493a60fcb4450257ced9ec0b4
parentea1523023525d2fba785adccaf5899339923aba1
Secure cookies only when HTTPS expected

This is particularly important if running system tests with
a remote Selenium instance. HTTPS and localhost are considered
"secure" for this purpose, while a remote Selenium will connect
to the app with HTTP instead.
app/assets/javascripts/osm.js.erb