From: <w42...@w4...> - 2002-12-10 02:43:03
|
I subscribe to the squirrelmail-users mailing list. [ ] True - No need to CC me when replying [x] False - Please CC me when replying This bug occurs when I ... ... view a particular message x ... use a specific plugin/function ... try to do/view/use .... The description of the bug: The bug appears to be in the newmail plugin. In the "New Mail" options screen, the user is given the option to use a sound file from their computer to notify them of new mail. Well, PHP parses out the \ in the location of the sound file, so C:\Windows\Sound Files\sound.wav would end up C:WindowsSoundFilessound.wav. I can reproduce the bug by: Browsing the computer for a sound file on the the options screen for the newmail plugin. (Optional) I got bored and found the bug occurs in: newmail plugin (Optional) I got really bored and here's a fix: This can be fixed by escaping the \ with an extra \ so that it would read C:\\Windows\\Sound Files\\sound.wav, which would end up as C:\Windows\Sound Files\sound.wav. Perhaps the AddSlashes() function in PHP could be implement into the next version of the newmail plugin. ---------------------------------------------- My browser information: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) get_browser() information (List) * Nothing listed My web server information: PHP Version 4.2.1 PHP Extensions (List) * 0 = xml * 1 = standard * 2 = session * 3 = posix * 4 = pcre * 5 = mysql * 6 = ming * 7 = mcrypt * 8 = imap * 9 = gd * 10 = ftp * 11 = curl * 12 = ctype * 13 = calendar * 14 = bcmath * 15 = zlib * 16 = apache SquirrelMail-specific information: Version: 1.2.10 Plugins (List) * 0 = bug_report * 1 = delete_move_next * 2 = administrator * 3 = newmail * 4 = squirrelspell My IMAP server information: Server type: other Server info: * OK [HIDDEN] IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN] localhost IMAP4rev1 2002.325-cpanel at Mon, 9 Dec 2002 19:27:14 -0700 (MST) Cabailities: IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND LOGIN-REFERRALS AUTH=LOGIN |