projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix part 1 for XSS issue... call page like this:
[squirrelmail.git]
/
functions
/
date.php
diff --git
a/functions/date.php
b/functions/date.php
index 84029fc18438b39d40ec82a441c9072c739905a4..c6b5db95be3318d3edfb5b679a0fedc8f65dd9a9 100644
(file)
--- a/
functions/date.php
+++ b/
functions/date.php
@@
-398,7
+398,7
@@
function getTimeStamp($dateParts) {
* Since the day of week is optional, this check is needed.
*/
if (count($dateParts) <2) {
- return
0
;
+ return
-1
;
}
/* remove day of week */