From 879c894527636a59682488cec518e6feefefd41d Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sat, 5 Jan 2008 06:05:51 +0000 Subject: [PATCH] Correct some misplaced comments git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12852 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/url_parser.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/functions/url_parser.php b/functions/url_parser.php index 15c117ae..5256ca28 100644 --- a/functions/url_parser.php +++ b/functions/url_parser.php @@ -133,8 +133,8 @@ function parseUrl (&$body) { $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; @@ -163,6 +163,7 @@ function parseUrl (&$body) { } } else + /* If there was a token to replace, replace it */ if ($target_token != '') { /* Find the end of the URL */ $end = $blength; -- 2.25.1