summaryrefslogtreecommitdiffstats
path: root/system/helpers/url_helper.php
AgeCommit message (Collapse)AuthorFilesLines
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...
2012-03-04Updated with 2.1-stable.Phil Sturgeon1-19/+15
2012-03-04Allow developers to use any string as a separator, not just dashes or ↵tubalmartin1-10/+19
underscores. Backwards compatible when using 'dash' or 'underscore' as string separator. Tests: http://codepad.org/DWcxVH5r
2012-03-03An even better url_title helper. Tests: http://codepad.org/tuJgvkyNtubalmartin1-20/+7
Changelog entry added for 2.1.1
2012-01-07Improve typography, url & xml helpersAndrey Andreev1-69/+61
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-11-17auto_link() learned to recognize more URLs has2k11-1/+1
Problem: auto_link() only works on URLs that are preceded by a new line, space, or open parentheses. As a result the URL in the string below would be missed. 'Google<br />http://www.google.com/' Solution: Add a word boundary to the list of features that can precede a URL. Credit to: @scaryuncledevin, issue #419
2011-11-07Adding auto-detection of best redirect method in url_helper.Brandon Jones1-1/+7
2011-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones1-4/+16
added notice of license to all source files. OSL to all except the few files we ship inside of the application folder, those are AFL. Updated license in user guide. incrementing next dev version to 3.0 due to licensing change
2011-08-26Merge branch 'develop' of github.com:EllisLab/CodeIgniter into developPhil Sturgeon1-1/+1
2011-08-24Changed doc block options. Fixes #100Eric Barnes1-1/+1
2011-08-21Merge branch 'develop' of https://github.com/waldmeister/codeigniter-reactor ↵Phil Sturgeon1-1/+1
into develop
2011-08-21Fixed problem with needless seperator at begin/end of stringDavid Behler1-1/+1
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-3/+3
broke the Typography class's string replacements, for instance
2011-07-02hand merged remaining unresolved files following the backout of ↵Derek Jones1-3/+3
648b42a75739, which was a NON-trivial whitespace commit
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-3/+3
broke the Typography class's string replacements, for instance
2011-06-15Merged base_url changes.philsturgeon1-4/+7
2011-04-25Fixed double-space typo.Razican1-3/+3
2011-02-03Made config->base_url() accept parameters. config->base_url($uri). Updated ↵anaxamaxan@blackdog.local1-4/+7
base_url() in url_helper accordingly.
2011-01-05Hey look, it's 2011Greg Aker1-1/+1
2010-11-10Updating PHP requirements in files 5.1.6Greg Aker1-1/+1
2010-10-04Cleanup of stray spaces and tabsBarry Mieny1-12/+12
2010-09-14Fixed a bug in the URL Helper where prep_url() could cause a PHP error on ↵Robin Sowell1-1/+3
PHP versions < 5.1.2.
2010-03-22expanded philsturgeon's bugfix to parse_url() and updated docs and changelogDerek Jones1-2/+2
2010-03-12prep_url() will now not append http:// to string if a protocol is already ↵Phil Sturgeon1-1/+1
used. That would really mess up itunes://, spotify://, telnet://, etc.
2010-01-05updated copyrightsDerek Jones1-1/+1
2009-04-22updated copyrights to 2009Derek Jones1-1/+1
2009-02-10Added trailing periods as characters to be removed in url_title()Derek Jones1-2/+3
Removed an extraneous Å character from the file that crept in from somewhere
2009-02-10changed redirect() to only force site_url() when the supplied URL doesn't ↵Derek Jones1-2/+7
start with an http protocol, allowing you to use the helper for external URLs.
2009-02-02replaced all sizeof() in favor of count() - aliases are teh sux0rDerek Jones1-2/+2
2008-12-09added $lowercase parameter to url_title() to allow forced lowercaseDerek Jones1-1/+6
2008-11-13Changing EOL style to LFDerek Allard1-581/+581
2008-10-15Added support for arbitrary attributes in anchor_popup() of the URL helper.Derek Allard1-53/+59
2008-10-11modifications to url_title()Derek Jones1-9/+10
2008-10-06Altered auto_link() in the URL helper so that email addresses with "+" ↵Derek Allard1-1/+1
included will be linked.
2008-09-13updated copyrightRick Ellis1-1/+1
2008-08-20Added current_url() and uri_string() functions to the URL helperRick Ellis1-2/+40
2008-05-13Some sweeping syntax changes for consistency:Derek Jones1-20/+20
(! foo) changed to ( ! foo) || changed to OR changed newline standardization code in various places from preg_replace to str_replace
2008-05-11Removed closing PHP tags, replaced with a comment block identifying the end ↵Derek Jones1-1/+3
of the file
2008-05-11Undoing change committed in r1115Derek Jones1-0/+1