Function cApiStrCleanURLCharacters
Removes or converts all "evil" URL characters. This function removes or converts all characters which can make an URL invalid.
Clean characters include:
- All characters between 32 and 126 which are not alphanumeric and
aren't one of the following: _-.
Package: Core\Backend
Deprecated: [2015-05-21] use cString::cleanURLCharacters
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Timo Hummel
Located at includes/functions.api.string.php
Deprecated: [2015-05-21] use cString::cleanURLCharacters
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Timo Hummel
Located at includes/functions.api.string.php
string |
$sString |
The string to operate on |
boolean |
$bReplace = false |
[optional] If true, all "unclean" characters are replaced |
string
|
The resulting string |
|