squirrelmail.git
21 years agocharsetDecode / htmlspecialchar usage is a mess :-(
stekkel [Mon, 24 Feb 2003 19:36:54 +0000 (19:36 +0000)]
charsetDecode / htmlspecialchar usage is a mess :-(

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4544 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoInsert notes about PHP 4.3.x into some documentation.
tassium [Mon, 24 Feb 2003 19:01:56 +0000 (19:01 +0000)]
Insert notes about PHP 4.3.x into some documentation.
Added warning to src/login.php when PHP 4.3.x is in use.
Warning can be disabled by adding $shootMyFootOff = true; to config/config_local.php

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4543 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agofixed problems with subjects with html special chars in it.
stekkel [Mon, 24 Feb 2003 18:51:33 +0000 (18:51 +0000)]
fixed problems with subjects with html special chars in it.
Fix for possible xss holes

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4542 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agolot's of fixes:
stekkel [Mon, 24 Feb 2003 18:49:53 +0000 (18:49 +0000)]
lot's of fixes:
* removed htmlspecialchars from charset_decode because of double
htmlspecialchars calls
* fix for \NoSelect folders
* code cleanups
* added htmlspecialchars for displayattachmnent (filename)
* fixed charset issue with base64 encoded strings (decodeHeader)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4541 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAdded method to encode email addresses
stekkel [Mon, 24 Feb 2003 18:37:39 +0000 (18:37 +0000)]
Added method to encode email addresses

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4540 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoremoved encodeHeader calls for the complete addresses, Only the personal
stekkel [Mon, 24 Feb 2003 18:36:02 +0000 (18:36 +0000)]
removed encodeHeader calls for the complete addresses, Only the personal
name part of an email address should be encoded

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4539 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoInsert a blurb about IMAPS on localhost being pointless.
tassium [Mon, 24 Feb 2003 18:00:40 +0000 (18:00 +0000)]
Insert a blurb about IMAPS on localhost being pointless.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4538 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoUpdated Simplified Chinese locale. "Benson Jin" <bensonjin@yahoo.com>
tokul [Fri, 21 Feb 2003 11:48:19 +0000 (11:48 +0000)]
Updated Simplified Chinese locale. "Benson Jin" <bensonjin@yahoo.com>

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4537 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoGreek
tokul [Fri, 21 Feb 2003 11:40:26 +0000 (11:40 +0000)]
Greek

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4536 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAdded Greek locale. Thanks to George P. Kremmydas
tokul [Fri, 21 Feb 2003 11:36:33 +0000 (11:36 +0000)]
Added Greek locale. Thanks to George P. Kremmydas
<george at kefalonia-ithaki.gr> and Alexandros Vellis <avel at noc.uoa.gr>

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4535 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoFixed javascript focus problem when first accessing login page. Also fixes errors...
pdontthink [Fri, 21 Feb 2003 00:12:43 +0000 (00:12 +0000)]
Fixed javascript focus problem when first accessing login page.  Also fixes errors when running password_forget plugin.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4534 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoSilly me, functions require () to work.
jangliss [Thu, 20 Feb 2003 18:18:28 +0000 (18:18 +0000)]
Silly me, functions require () to work.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4533 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoDo not use mixed get/post forms as this is broken in some browsers
kink [Thu, 20 Feb 2003 10:29:37 +0000 (10:29 +0000)]
Do not use mixed get/post forms as this is broken in some browsers
(they only submit the post forms and skip the get forms).

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4532 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoSmall html fix
kink [Thu, 20 Feb 2003 10:04:57 +0000 (10:04 +0000)]
Small html fix

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4531 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agorg=0 broke some functionality that plugins relied on. fix 682962
kink [Thu, 20 Feb 2003 09:40:03 +0000 (09:40 +0000)]
rg=0 broke some functionality that plugins relied on. fix 682962

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4530 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoMarc forgot to update the changelog to include his timezone fix. So here it is.
tassium [Wed, 19 Feb 2003 18:54:28 +0000 (18:54 +0000)]
Marc forgot to update the changelog to include his timezone fix. So here it is.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4529 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoFixed the borked timezone manipulating functions.
stekkel [Tue, 18 Feb 2003 20:06:47 +0000 (20:06 +0000)]
Fixed the borked timezone manipulating functions.
* Now we supported timezones in shhmm format as well as the obsolete zone
format.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4528 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoRemoved accidental duplication of several lines in data directory input section.
pdontthink [Sat, 15 Feb 2003 11:21:16 +0000 (11:21 +0000)]
Removed accidental duplication of several lines in data directory input section.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4527 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoMailfetch
philippe_mingo [Thu, 13 Feb 2003 14:06:05 +0000 (14:06 +0000)]
Mailfetch

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4525 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAlexandros Vellis: Bugfix
philippe_mingo [Thu, 13 Feb 2003 14:04:52 +0000 (14:04 +0000)]
Alexandros Vellis: Bugfix

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4524 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoVietnamese
philippe_mingo [Thu, 13 Feb 2003 13:37:09 +0000 (13:37 +0000)]
Vietnamese

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4523 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoLe Viet Hung, Vietnamese translation
philippe_mingo [Thu, 13 Feb 2003 13:34:37 +0000 (13:34 +0000)]
Le Viet Hung, Vietnamese translation

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4522 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoWe're talking Megabytes here, not millibytes :)
kink [Wed, 12 Feb 2003 05:52:59 +0000 (05:52 +0000)]
We're talking Megabytes here, not millibytes :)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4521 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoFix "Failed opening default pref" bug, closes #680331, thanks David Walser
kink [Mon, 10 Feb 2003 15:38:16 +0000 (15:38 +0000)]
Fix "Failed opening default pref" bug, closes #680331, thanks David Walser

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4520 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoremoved one of my stupid debug lines.
stekkel [Mon, 10 Feb 2003 09:27:48 +0000 (09:27 +0000)]
removed one of my stupid debug lines.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4519 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agosummarize latest tweaks
ebullient [Sun, 9 Feb 2003 02:24:44 +0000 (02:24 +0000)]
summarize latest tweaks

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4512 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoChanges for Folder Deletion:
ebullient [Sat, 8 Feb 2003 02:50:50 +0000 (02:50 +0000)]
Changes for Folder Deletion:
  + "Don't delete folder.." option changed to
    "Folder Deletion Bypasses Trash" to make it more obvious what yes means.
  + Changed auto configuration values for UW and Courier IMAP -
    these two servers should always "bypass Trash" when deleting folders,
    as neither allow subfolders in Trash.
  + Cleaned up initial theme display because it was annoying.
  + Changed behavior of "edit name" option, to make it a sub-option of
    "edit identity" since the values are tied together.

Maybe someday I'll remember to add these things to the damn changelog.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4511 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoUpdates to reflex removal of sqextractGlobalVar
jangliss [Fri, 7 Feb 2003 23:13:13 +0000 (23:13 +0000)]
Updates to reflex removal of sqextractGlobalVar

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4510 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoRemove the unnecesary sqextractGlobalVar function, and replace with the new
jangliss [Fri, 7 Feb 2003 23:09:16 +0000 (23:09 +0000)]
Remove the unnecesary sqextractGlobalVar function, and replace with the new
sqgetGlobalVar.  This should fix the compose error that Ken Brush was having.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4509 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoFix for 636577.
ebullient [Fri, 7 Feb 2003 20:34:09 +0000 (20:34 +0000)]
Fix for 636577.
Make subfolders of Sent/Drafts show To: instead of From:
(like Sent and Drafts do already).
Needs some UW verification but should work pretty well.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4508 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoFix odd behavior from login-redirect.
ebullient [Thu, 6 Feb 2003 21:49:01 +0000 (21:49 +0000)]
Fix odd behavior from login-redirect.
When you are redirected to login, session_post_vars is created
to save your state (for the case where you were writing a message
and got logged out).  If, for example, you were just going directly
to webmail.php, or a different page, and were required to login,
this array would be created, and it would be empty.
In this case, we are directed back to webmail.php, which doesn't
use any post vars. If we don't clear this array, it hangs around in
the session until the first time you get to the compose screen -
at which time, the fact that it's empty causes all kinds of trouble.

So, in the future, we need to encorporate into the initialization process
a mechanism to make sure that vars like this get cleared out for pages
that don't need them. But this will solve redirects to webmail.php
for now.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4507 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agochanges by Marc
stekkel [Thu, 6 Feb 2003 19:44:01 +0000 (19:44 +0000)]
changes by Marc

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4506 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoFixed path to sounds,
stekkel [Thu, 6 Feb 2003 19:38:02 +0000 (19:38 +0000)]
Fixed path to sounds,
Removed expensive select call and replaced it by a status call.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4505 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoadded RECENT response to result array of sqimap_get_status in order to
stekkel [Thu, 6 Feb 2003 19:36:09 +0000 (19:36 +0000)]
added RECENT response to result array of sqimap_get_status in order to
remove an expensive select call in the newmail plugin. Probably the
influences on speed when the newmail plugin is disabled are minimal.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4504 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAnother XSS problem, carefully constructed X-Mailer header would result in
jangliss [Thu, 6 Feb 2003 04:56:10 +0000 (04:56 +0000)]
Another XSS problem, carefully constructed X-Mailer header would result in
XSS vulnerabilities.  Thanks to Masato Higashiyama for spotting this.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4500 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agouse Perl's function for this. Don't know what I was thinking.
ebullient [Mon, 3 Feb 2003 22:31:13 +0000 (22:31 +0000)]
use Perl's function for this. Don't know what I was thinking.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4495 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoBetter way to fix conversion stuff for windows paths..
ebullient [Sun, 2 Feb 2003 17:47:16 +0000 (17:47 +0000)]
Better way to fix conversion stuff for windows paths..

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4494 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoCloses bug 672350. Right-to-Left language fixes from Saleh Madi
tokul [Sun, 2 Feb 2003 13:14:58 +0000 (13:14 +0000)]
Closes bug 672350. Right-to-Left language fixes from Saleh Madi

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4493 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoremoval form HEAD to be reimported to 1.5 branch
centaurix [Sun, 2 Feb 2003 10:51:58 +0000 (10:51 +0000)]
removal form HEAD to be reimported to 1.5 branch

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4492 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agodisabled translator.go.com.
tokul [Sun, 2 Feb 2003 10:07:05 +0000 (10:07 +0000)]
disabled translator.go.com.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4491 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agofixed missing $body and added changes of translation engines
tokul [Sun, 2 Feb 2003 09:36:24 +0000 (09:36 +0000)]
fixed missing $body and added changes of translation engines

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4490 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoTweaks to resolve various path issues.
ebullient [Sun, 2 Feb 2003 06:25:17 +0000 (06:25 +0000)]
Tweaks to resolve various path issues.
I think this solves problems with images/css specifications
(more updates to directions than changes of behavior).
The one piece I'm not sure is completely fixed is the Windows
issues (i.e. c:\path\to). Will post to list for person to test.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4489 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoUpdated strings from Grisha Mokhin
tokul [Fri, 31 Jan 2003 10:46:25 +0000 (10:46 +0000)]
Updated strings from Grisha Mokhin

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4487 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoUpdates from Marcos.
tokul [Fri, 31 Jan 2003 10:41:12 +0000 (10:41 +0000)]
Updates from Marcos.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4486 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoget the filename from the properties if no disposition information is
stekkel [Thu, 30 Jan 2003 18:05:49 +0000 (18:05 +0000)]
get the filename from the properties if no disposition information is
available in the bodystructure.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4485 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoget the filename from the properties if the is no disposition info available
stekkel [Thu, 30 Jan 2003 18:04:55 +0000 (18:04 +0000)]
get the filename from the properties if the is no disposition info available
in the bodystructure.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4484 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agotwo tags were not echo'ed
kink [Thu, 30 Jan 2003 15:33:04 +0000 (15:33 +0000)]
two tags were not echo'ed

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4483 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoCloses patch 622282. Fixed non portable charset warning.
tokul [Thu, 30 Jan 2003 11:50:24 +0000 (11:50 +0000)]
Closes patch 622282. Fixed non portable charset warning.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4482 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoFixed gettext warnings. windows-1257 -> CP1257
tokul [Thu, 30 Jan 2003 11:44:46 +0000 (11:44 +0000)]
Fixed gettext warnings. windows-1257 -> CP1257

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4481 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoStrings update from Ray Liao
tokul [Thu, 30 Jan 2003 08:54:14 +0000 (08:54 +0000)]
Strings update from Ray Liao

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4480 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoFix an odd circular loop in redirect.
ebullient [Tue, 28 Jan 2003 17:44:53 +0000 (17:44 +0000)]
Fix an odd circular loop in redirect.
If you have compose in new window off:
*  close SquirrelMail session.
*  go directly to webmail.php (causes redirect for login)
*  in redirect.php, url was assigned: webmail.php?right_frame=webmail.php
   which caused nested frameset.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4479 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoRemove that "Not Available" message in the folder count, since it seems
ebullient [Tue, 28 Jan 2003 16:41:41 +0000 (16:41 +0000)]
Remove that "Not Available" message in the folder count,  since it seems
not to be liked. Tracker: 664548,  674123

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4478 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoadd checks for Messge Disposition Notifications.
stekkel [Mon, 27 Jan 2003 09:26:55 +0000 (09:26 +0000)]
add checks for Messge Disposition Notifications.
Now we also identify X-Confirm-reading-To and Return-Receipt-To.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4476 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agofix for unsafe images links. Somehow the wrong were in de view unsafe images
stekkel [Mon, 27 Jan 2003 09:06:21 +0000 (09:06 +0000)]
fix for unsafe images links. Somehow the wrong were in de view unsafe images
link. passed_ent_id is used in case of attached message/rfc822 messages,
ent_id is used for specifying the mime-entity_id. If passed_ent_id is
available we know that the message with entity_id = passed_ent_id contains
a rfc822header.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4475 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoJ.I Kim
philippe_mingo [Sat, 25 Jan 2003 08:09:57 +0000 (08:09 +0000)]
J.I Kim

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4474 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoStrings update
philippe_mingo [Sat, 25 Jan 2003 08:08:14 +0000 (08:08 +0000)]
Strings update

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4473 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoJuergen Edner
philippe_mingo [Sat, 25 Jan 2003 07:57:16 +0000 (07:57 +0000)]
Juergen Edner

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4472 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoNenad Peric
philippe_mingo [Sat, 25 Jan 2003 07:51:18 +0000 (07:51 +0000)]
Nenad Peric

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4471 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoContinue development
kink [Fri, 24 Jan 2003 09:56:34 +0000 (09:56 +0000)]
Continue development

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4470 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoReleasing RC2a
kink [Fri, 24 Jan 2003 09:42:17 +0000 (09:42 +0000)]
Releasing RC2a

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4468 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoMore XSS fixes
jangliss [Fri, 24 Jan 2003 02:29:49 +0000 (02:29 +0000)]
More XSS fixes

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4467 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years ago"XXS-yourself" fixes
kink [Thu, 23 Jan 2003 22:32:24 +0000 (22:32 +0000)]
"XXS-yourself" fixes

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4463 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoFixes XSS bug in mailbox_display with malicious From: headers.
tassium [Thu, 23 Jan 2003 22:12:26 +0000 (22:12 +0000)]
Fixes XSS bug in mailbox_display with malicious From: headers.
Thanks to sailfrog for finding this one!

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4462 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoPrevent XSS silliness in memorized searches.
tassium [Thu, 23 Jan 2003 21:47:35 +0000 (21:47 +0000)]
Prevent XSS silliness in memorized searches.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4461 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAvoid XSS silliness in the calendar plugin
tassium [Thu, 23 Jan 2003 20:57:39 +0000 (20:57 +0000)]
Avoid XSS silliness in the calendar plugin

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4460 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoVersion check fixes.
kink [Thu, 23 Jan 2003 20:50:22 +0000 (20:50 +0000)]
Version check fixes.
1) the required version is minimum 4.0.4 so the 4.0.2 check is always passed.
2) make the check in prefs.php also work when new php versions are released %-)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4459 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoE_ALL fix; missing ' around index name
tassium [Thu, 23 Jan 2003 20:43:29 +0000 (20:43 +0000)]
E_ALL fix; missing ' around index name

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4458 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoObsolete duplicate function to make sure version comparison is done in a
kink [Thu, 23 Jan 2003 20:14:43 +0000 (20:14 +0000)]
Obsolete duplicate function to make sure version comparison is done in a
predictable way.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4457 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoContinue development
kink [Thu, 23 Jan 2003 18:34:05 +0000 (18:34 +0000)]
Continue development

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4456 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoRC2
kink [Thu, 23 Jan 2003 17:09:54 +0000 (17:09 +0000)]
RC2

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4454 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agofixed warning when attachments aren't set
stekkel [Thu, 23 Jan 2003 16:49:20 +0000 (16:49 +0000)]
fixed warning when attachments aren't set

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4453 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoRewrite of the foldLine function in order to fold correctly in case of
stekkel [Thu, 23 Jan 2003 14:07:13 +0000 (14:07 +0000)]
Rewrite of the foldLine function in order to fold correctly in case of
encoded strings (RFC 2047). Encoded strings may not be split in the middle!

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4452 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoSerbian strings update
tokul [Wed, 22 Jan 2003 10:54:19 +0000 (10:54 +0000)]
Serbian strings update

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4450 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoRollback LTR changes. it will be resubmitted after stable release.
tokul [Wed, 22 Jan 2003 10:02:48 +0000 (10:02 +0000)]
Rollback LTR changes. it will be resubmitted after stable release.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4449 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoRollback RTL changes. this is mailbox_display.php v.1.301
tokul [Wed, 22 Jan 2003 09:45:40 +0000 (09:45 +0000)]
Rollback RTL changes. this is mailbox_display.php v.1.301
Changes will be resubmitted after stable release.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4448 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoRollback LTR changes. this is read_body.php v.1.271 and compose.php 1.302.
tokul [Wed, 22 Jan 2003 09:42:58 +0000 (09:42 +0000)]
Rollback LTR changes. this is read_body.php v.1.271 and compose.php 1.302.
Patches will be resubmitted after stable release.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4447 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years ago$note was being checked (with isset()) but never fetched from $_GET. Fixed.
tassium [Wed, 22 Jan 2003 04:43:16 +0000 (04:43 +0000)]
$note was being checked (with isset()) but never fetched from $_GET. Fixed.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4446 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoI have rolled back Stefan's additions.
tassium [Wed, 22 Jan 2003 03:23:25 +0000 (03:23 +0000)]
I have rolled back Stefan's additions.
This is the equivalent to rev 1.143.
Yes, this is stepping on Stefan's toes a little, but we didn't want a CVS snapshot made with new featuration added. Sorry Stefan, please feel free to commit new feature code once we branch 1.5.0.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4445 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoinitial files for using vcard in the gui
centaurix [Tue, 21 Jan 2003 21:05:08 +0000 (21:05 +0000)]
initial files for using vcard in the gui

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4444 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoArief S Fitrianto
philippe_mingo [Tue, 21 Jan 2003 17:14:01 +0000 (17:14 +0000)]
Arief S Fitrianto

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4443 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoUpdated strings from <marcos@v2r.com.br>
tokul [Mon, 20 Jan 2003 07:00:00 +0000 (07:00 +0000)]
Updated strings from <marcos@v2r.com.br>

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4442 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agosleeping sucks anyway. ;)
centaurix [Mon, 20 Jan 2003 06:01:16 +0000 (06:01 +0000)]
sleeping sucks anyway. ;)
it writes vcards now. not pretty ones (strip whitespace, encoding, etc is still missing).
but works for me as inital tool.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4441 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agofinally. real code. no. not real code. some convert tool even not finished.
centaurix [Mon, 20 Jan 2003 04:17:00 +0000 (04:17 +0000)]
finally. real code. no. not real code. some convert tool even not finished.
will output .vcard address card files in the data directory (own direcoty later)

second small step to get cool vcard features into SM core.
to be continued (and finalized hopefully to end of feb 2003)

getting some sleep. (5am now)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4440 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoStrings update from M.J.Prinsen <various@bovendelft.xs4all.nl>
tokul [Sun, 19 Jan 2003 21:03:31 +0000 (21:03 +0000)]
Strings update from M.J.Prinsen <various@bovendelft.xs4all.nl>

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4439 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoRight-to-left fixes from Saleh Madi <webmail@p-i-s.com> (part 2)
tokul [Sun, 19 Jan 2003 16:44:02 +0000 (16:44 +0000)]
Right-to-left fixes from Saleh Madi <webmail@p-i-s.com> (part 2)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4438 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoRight-to-Left fixes by Saleh Madi <webmail@p-i-s.com>
tokul [Sun, 19 Jan 2003 16:41:23 +0000 (16:41 +0000)]
Right-to-Left fixes by Saleh Madi <webmail@p-i-s.com>

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4437 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoUpdated strings.
tokul [Sun, 19 Jan 2003 15:44:41 +0000 (15:44 +0000)]
Updated strings.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4436 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoFix html errors that cause display problems in NS4. Thanks "ME".
kink [Sun, 19 Jan 2003 11:40:23 +0000 (11:40 +0000)]
Fix html errors that cause display problems in NS4. Thanks "ME".

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4435 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoHebrew locale is not he_HE, but he_IL
tokul [Sat, 18 Jan 2003 09:05:11 +0000 (09:05 +0000)]
Hebrew locale is not he_HE, but he_IL

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4434 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoIncluded all plugins in xgetpo. Updated main squirrelmail.po.
tokul [Sat, 18 Jan 2003 08:53:52 +0000 (08:53 +0000)]
Included all plugins in xgetpo. Updated main squirrelmail.po.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4433 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoFor a more 'professional' look, using broken instead of borked in the
jangliss [Fri, 17 Jan 2003 19:47:00 +0000 (19:47 +0000)]
For a more 'professional' look, using broken instead of borked in the
ChangeLog :P

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4432 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoChangeLog
kink [Fri, 17 Jan 2003 18:17:49 +0000 (18:17 +0000)]
ChangeLog

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4431 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoFix abook_take
kink [Fri, 17 Jan 2003 18:15:24 +0000 (18:15 +0000)]
Fix abook_take

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4430 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoObsolete sqm_topdir(), thanks Jimmy Connor for the tip.
kink [Fri, 17 Jan 2003 13:50:33 +0000 (13:50 +0000)]
Obsolete sqm_topdir(), thanks Jimmy Connor for the tip.
sqm_topdir breaks installs that have open_basedir set, and it was only
used in one place, functionality has been superseded by SM_PATH.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4429 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAdded fortune plugin and --no-location options.
tokul [Thu, 16 Jan 2003 21:28:03 +0000 (21:28 +0000)]
Added fortune plugin and --no-location options.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4428 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoTranslated strings in plugin to gettext.
tokul [Thu, 16 Jan 2003 21:18:12 +0000 (21:18 +0000)]
Translated strings in plugin to gettext.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4427 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAdded Turkish option. But plugin still needs to be fixed and made E_ALL
tokul [Thu, 16 Jan 2003 21:15:35 +0000 (21:15 +0000)]
Added Turkish option. But plugin still needs to be fixed and made E_ALL
compatible.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4426 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years ago* fix for e-mail addresses like: <mailbox@host> (personal name)
stekkel [Thu, 16 Jan 2003 12:48:03 +0000 (12:48 +0000)]
* fix for e-mail addresses like: <mailbox@host> (personal name)
  now the personal name is no longer interpreted as comment
  but is stored as the personal name inside the address object if
  there is no other personal name supplied.
  in case of:
  "personal name1" <mailbox@host> (personal name2)
  personal name 1 is used and personal name 2 is treated as comment.
* removed an eval call and replaced by something that doesn't need eval.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4425 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoObsolete code because crc32() does exist in our minimum php requirements.
kink [Wed, 15 Jan 2003 15:49:23 +0000 (15:49 +0000)]
Obsolete code because crc32() does exist in our minimum php requirements.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4424 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoRemove unused pref.
kink [Wed, 15 Jan 2003 15:15:17 +0000 (15:15 +0000)]
Remove unused pref.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4423 7612ce4b-ef26-0410-bec9-ea0150e637f0