projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix issue not allowing save of boolean prefs that default to SMPREF_ON
[squirrelmail.git]
/
functions
/
url_parser.php
diff --git
a/functions/url_parser.php
b/functions/url_parser.php
index b94967464cc8faae65013949e61cee89bdbdfb6d..5256ca2804dd6d89b279cc2ef38bcd7673674fd1 100644
(file)
--- a/
functions/url_parser.php
+++ b/
functions/url_parser.php
@@
-6,7
+6,7
@@
* This code provides various string manipulation functions that are
* used by the rest of the SquirrelMail code.
*
* This code provides various string manipulation functions that are
* used by the rest of the SquirrelMail code.
*
- * @copyright © 1999-200
6
The SquirrelMail Project Team
+ * @copyright © 1999-200
7
The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
@@
-133,8
+133,8
@@
function parseUrl (&$body) {
$target_pos = strlen($check_str) + $start;
}
$target_pos = strlen($check_str) + $start;
}
- /
* If there was a token to replace, replace it */
- if ($target_token == 'mailto:') {
// rfc 2368 (mailto URL)
+ /
/ rfc 2368 (mailto URL)
+ if ($target_token == 'mailto:') {
$target_pos += 7; //skip mailto:
$end = $blength;
$target_pos += 7; //skip mailto:
$end = $blength;
@@
-163,6
+163,7
@@
function parseUrl (&$body) {
}
}
else
}
}
else
+ /* If there was a token to replace, replace it */
if ($target_token != '') {
/* Find the end of the URL */
$end = $blength;
if ($target_token != '') {
/* Find the end of the URL */
$end = $blength;
@@
-277,4
+278,3
@@
function sq_strpos_8bit($haystack,$offset=0,$maxlength=false) {
}
return $ret;
}
}
return $ret;
}
-?>
\ No newline at end of file