From 8241c8d9b8a93c44f94ebb403dfb8194d776e75c Mon Sep 17 00:00:00 2001 From: lkehresman Date: Wed, 3 May 2000 18:55:39 +0000 Subject: [PATCH] updated the index.php to be absolute, not relative, fixed some bugs in url parser. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@486 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- ChangeLog | 1 + functions/url_parser.php | 2 +- index.php | 7 ++++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e3de956e..d2ad7e2a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ Version 0.4pre2 -- DEVELOPMENT ------------------------------ +- HTML based search of address books (javascript an option) - Made folder listing look first at subscribed folders, making it faster, even if you don't have $folder_prefix set. - Fixed some bugs with default sent and trash folders diff --git a/functions/url_parser.php b/functions/url_parser.php index bcb5f7b9..676c9f1a 100644 --- a/functions/url_parser.php +++ b/functions/url_parser.php @@ -22,7 +22,7 @@ $done=False; while (!$done) { #Look for when a URL starts - $where = strpos($body,"http:",$start); + $where = strpos(strtolower($body),"http://",$start); if ($where) { # Find the end of that URL reset($poss_ends); $end=0; diff --git a/index.php b/index.php index 9a80878d..45e3f837 100644 --- a/index.php +++ b/index.php @@ -1,3 +1,8 @@ -- 2.25.1