@@ -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
@@ -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;
@@ -1,3 +1,8 @@
<?php
- header("Location: src/login.php");
+ $headers = getallheaders();
+ $path = substr($PHP_SELF, 0, strrpos($PHP_SELF, '/'));
+ $location = $headers["Host"] . $path;
+
+ header("Location: http://$location/src/login.php\n\n");
+ exit();
?>