diff options
author | Aaron Adams <aaron@aaronadams.ca> | 2012-12-08 04:39:23 +0100 |
---|---|---|
committer | Aaron Adams <aaron@aaronadams.ca> | 2012-12-08 04:39:23 +0100 |
commit | 16800e4e356fa1aa3d92d368e6e495b97b64ad83 (patch) | |
tree | 3ad3f05eea022a3369328d95a1a92c533f2ac1c6 /system/helpers/text_helper.php | |
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>
Diffstat (limited to 'system/helpers/text_helper.php')
0 files changed, 0 insertions, 0 deletions