/**
* url_parser.php
*
- * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Copyright (c) 1999-2003 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This code provides various string manipulation functions that are
global $url_parser_poss_ends, $url_parser_url_tokens;;
$start = 0;
$blength = strlen($body);
- $target_pos = $blength;
while ($start != $blength) {
$target_token = '';
+ $target_pos = $blength;
/* Find the first token to replace */
foreach ($url_parser_url_tokens as $the_token) {