title: Laravel 4 Generate HTTPS URL's
body: <p>Is it at all possible for Laravel 4 to generate proper HTTPS URL's with <strong>every</strong> item? Or at least generate relative URL's instead of absolute (which I cannot fathom why this is not the default behavior). </p>
  
  <p>Every form generated via Laravel Eg:</p>
  
  <pre><code>{{ Form::open(array('route' =&gt; 'login', 'method' =&gt; 'post')) }} //http://example.com/login
  </code></pre>
  
  <p>Will always use http as the protocol. In Laravel 3 there was open_secure method, but that is no longer inside Laravel 4.</p>
  
  <p>Every Route generated by Laravel Eg:</p>
  
  <pre><code>{{ URL::route('login') }} //http://example.com/login
  </code></pre>
  
  <p>etc, etc</p>
  
  <p><strong>NOTE</strong>: You can get around Route's by using:</p>
  
  <pre><code>{{ URL::route('login', array(), false) }} // /login - This is perfect behavior 
  </code></pre>
  
  <p>This create a relative URL which is safe over every protocol.</p>
  
  <p><strong>Note 2</strong>: Creating a filter is <strong>not</strong> an acceptable solution. It creates issue with POST forms and creates a redirect on every single page. Why increase load and wait times?</p>