summaryrefslogtreecommitdiffstats
path: root/system/helpers/url_helper.php
AgeCommit message (Collapse)AuthorFilesLines
2017-09-29[ci skip] Revert file permission change from PR #5278Andrey Andreev1-0/+0
2017-09-29Merge pull request #5278 from Uekawa/auto_linkAndrey Andreev1-1/+1
Fix auto_link trailing slash
2017-01-03Update copyright data to 2017Master Yoda1-2/+2
2016-01-11[ci skip] Update ellislab.com links to https tooAndrey Andreev1-1/+1
2016-01-11[ci skip] Update codeigniter.com links to httpsAndrey Andreev1-2/+2
2016-01-11[ci skip] Bump year to 2016Andrey Andreev1-2/+2
2015-07-13Add check for PCRE UTF-8 supportdimonneon1-1/+1
2015-07-10Add unicode support in url_title functiondimonneon1-2/+2
2015-06-13Fix typo in url_title function description.Michael Foss1-1/+1
2015-04-12Close #3761Andrey Andreev1-1/+1
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-09Bulk (mostly documentation) updateAndrey Andreev1-3/+3
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-07-31Last empty line removeMian Saleem1-1/+1
2014-07-31Update url_helper.phpMian Saleem1-1/+1
2014-07-31anchor popup attribute missingMian Saleem1-2/+2
Please add the menubar attribute to anchor popup
2014-07-06Fix #3131Andrey Andreev1-0/+4
2014-02-26Don't use error suppression on realpath() + style adjustmentsAndrey Andreev1-13/+8
2014-02-15[ci skip] Don't use output buffering in URL helper safe_mailto()Andrey Andreev1-17/+18
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2014-01-09Add HTTP response code 307 support in URL helper redirect()Andrey Andreev1-5/+10
2014-01-08Fix 2 errors caused by recent commitsAndrey Andreev1-1/+2
2014-01-08Optimize get_instance() calls/assignmentsAndrey Andreev1-6/+3
2013-10-25Implement $protocol parameter in Config base_url() and site_url() methodsvlakoff1-16/+2
Let's keep the implementation logic in one place. Improves 2023c3d05b042cf1322286d69557c2b8bf3bd8d5.
2013-07-18Micro-optimization on base_url() & site_url()Andrey Andreev1-6/+6
2013-07-18Add that parameter for real :)Andrey Andreev1-1/+1
2013-07-18Add an optional parameter to URL helpers base_url() and site_url() ↵Andrey Andreev1-7/+21
(supersedes #2535)
2013-01-28Fix auto_link() for the Nth timeAndrey Andreev1-9/+10
- anchor() is for local links and breaks ones that don't have a protocol prefix - Allow :// links (no actual protocol specified) - Further simplified the URL regular expression
2013-01-21Adjust regex.Eric Roberts1-1/+1
2013-01-19Remove whitespace from empty lines.Eric Roberts1-5/+5
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-18Fix and optimize auto_link() URL helper function.Eric Roberts1-31/+22
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-17Fix issues #2160, #2161Andrey Andreev1-11/+6
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-12-08While most of CodeIgniter supports protocol-relative URLs, a few URL helpers ↵Aaron Adams1-3/+3
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>
2012-12-03[ci skip] Cleaned some spacesAndrey Andreev1-1/+1
2012-11-09Polish docs for URL and XML helpers and deprecate obsolete options for ↵Andrey Andreev1-7/+10
String helper random_string() and URL helper url_title()
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-1/+2
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-10-25Add missing delimiter in preg_quote() occurences (fix #1929)Andrey Andreev1-1/+1
2012-10-19Manually apply an improved version of PR #1797 (auto_link() URL helper)Andrey Andreev1-9/+12
2012-09-12Better server test in redirect() of URL helpervlakoff1-1/+1
"Location" header bugs are specific to IIS; previous test was matching all HTTP servers under Windows. This test isn't perfect yet ($_SERVER['SERVER_SOFTWARE'], which corresponds to the "Server" header of HTTP response, might be missing), but there is no perfect test. "Refresh" method makes the window blank for quite a noticeable time, so let's not affect other servers because of IIS.
2012-07-29Adding a common stringify_attributes function for dealing with attributes ↵Eric Barnes1-46/+4
through out various helpers. Signed-off-by: Eric Barnes <eric@ericlbarnes.com>
2012-06-27URL Helper redirect() to utilize HTTP/1.1 response code 303 See OtherAndrey Andreev1-3/+11
2012-06-16anchor_popup() improvementsAndrey Andreev1-3/+13
2012-06-16Fix two anchor_popup() issuesAndrey Andreev1-5/+2
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/helpersAlex Bilbie1-12/+12
2012-05-17Merge upstreamTimothy Warren1-2/+2
2012-05-17Clean up the helpersAndrey Andreev1-2/+2
2012-04-27Fix rest of the helpersTimothy Warren1-133/+135
2012-03-26Remove access description lines and cleanup the url helperAndrey Andreev1-37/+22
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-1/+1
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway...