commit | 16800e4e356fa1aa3d92d368e6e495b97b64ad83 | [log] [tgz] |
---|---|---|
author | Aaron Adams <aaron@aaronadams.ca> | Fri Dec 07 22:39:23 2012 -0500 |
committer | Aaron Adams <aaron@aaronadams.ca> | Fri Dec 07 22:39:23 2012 -0500 |
tree | 3ad3f05eea022a3369328d95a1a92c533f2ac1c6 | |
parent | 5c54f18e5728e6793f8917b917da2e6866fb1ffb [diff] |
While most of CodeIgniter supports protocol-relative URLs, a few URL helpers do not. Most notably, redirect('//www.facebook.com/aaronadams') led my browser to https://aaronadams.ca/index.php/www.facebook.com/aaronadams. In this commit, I have fixed the header() helper, along with the anchor() and anchor_popup() helpers, to be compatible with protocol-relative URLs. Signed-off-by: Aaron Adams <aaron@aaronadams.ca>