merge of '6d931b60fff0152bef4accc444201620045a9d87'
and '914b4e262396efbb440644e500c6fa43e8d23a61' Monotone-Parent: 6d931b60fff0152bef4accc444201620045a9d87 Monotone-Parent: 914b4e262396efbb440644e500c6fa43e8d23a61 Monotone-Revision: 07531f86fd693076f1210ca5298d43ef1a2495bc Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-06-16T01:15:58 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
commit
f7df54e621
1
NEWS
1
NEWS
|
@ -28,6 +28,7 @@
|
||||||
UID)
|
UID)
|
||||||
- fixed week view alignment problem in IE7
|
- fixed week view alignment problem in IE7
|
||||||
- fixed LDAP and SQL injection bugs
|
- fixed LDAP and SQL injection bugs
|
||||||
|
- fixed many bugs related to the encoding and decoding of IMAP folder names
|
||||||
|
|
||||||
1.0-20090407 (1.0.1)
|
1.0-20090407 (1.0.1)
|
||||||
--------------------
|
--------------------
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -39,6 +39,17 @@ var deleteMessageRequestCount = 0;
|
||||||
|
|
||||||
var messageCheckTimer;
|
var messageCheckTimer;
|
||||||
|
|
||||||
|
/* We need to override this method since it is adapted to GCS-based folder
|
||||||
|
references, which we do not use here */
|
||||||
|
function URLForFolderID(folderID) {
|
||||||
|
var url = ApplicationBaseURL + encodeURI(folderID);
|
||||||
|
|
||||||
|
if (url[url.length-1] == '/')
|
||||||
|
url = url.substr(0, url.length-1);
|
||||||
|
|
||||||
|
return url;
|
||||||
|
}
|
||||||
|
|
||||||
/* mail list */
|
/* mail list */
|
||||||
|
|
||||||
function openMessageWindow(msguid, url) {
|
function openMessageWindow(msguid, url) {
|
||||||
|
|
|
@ -9,13 +9,18 @@
|
||||||
| Updated: 17.04.2003 |
|
| Updated: 17.04.2003 |
|
||||||
|--------------------------------------------------*/
|
|--------------------------------------------------*/
|
||||||
|
|
||||||
|
/* The content of attribute values should be quoted properly by using the
|
||||||
|
equivalent entities. */
|
||||||
function dTreeQuote(str) {
|
function dTreeQuote(str) {
|
||||||
return (str
|
return (str
|
||||||
.replace(/\\/g, "\\\\")
|
.replace(/&/g, "&")
|
||||||
|
.replace(/</g, "<")
|
||||||
.replace(/\"/g, """)
|
.replace(/\"/g, """)
|
||||||
.replace(/\'/g, "'"));
|
.replace(/\'/g, "'"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window.alert("test: " + dTreeQuote("& < \" ' \" &"));
|
||||||
|
|
||||||
// Node object
|
// Node object
|
||||||
function Node(id, pid, name, isParent, url, dataname, datatype, title, target,
|
function Node(id, pid, name, isParent, url, dataname, datatype, title, target,
|
||||||
icon, iconOpen, open, hasUnseen) {
|
icon, iconOpen, open, hasUnseen) {
|
||||||
|
|
Loading…
Reference in a new issue