Page MenuHomeDevCentral

Current URL detection code in views aren't coherent
Closed, ResolvedPublic

Description

I'm somewhat sceptical with the current URL detection code:

http://login.nasqueron.org/auth/login
<a href="http://localhost:25080/auth/recover" class="action-link">Password recovery options</a><br />
<a href="http://localhost:25080/auth/register" class="action-link">Register an account</a>

Config

This is incoherent with the app.url setting.

login container
$ php artisan tinker
Psy Shell v0.7.2 (PHP 5.6.16 — cli) by Justin Hileman
>>> Config::get('app.url');
=> "http://localhost"

HTTPS

Should be handled with regard to D25 for a related URL issue.

Event Timeline

dereckson added a subscriber: Sandlayth.

app.url setting is for CLI links

I've added -e CANONICAL_URL=http://login.nasqueron.org to the container launcher script.

include proxy_params was missing from the vhost