From e963d62c3f65d861db977efc2489ccf4b631beb5 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Thu, 9 Feb 2012 16:42:49 +0000 Subject: patch for #382 --- UPGRADE | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'UPGRADE') diff --git a/UPGRADE b/UPGRADE index e19e6239..c8e33929 100644 --- a/UPGRADE +++ b/UPGRADE @@ -42,6 +42,11 @@ Upgrading from v3.1.x - All the THttpRequest's methods used to gather server informations have been paired to return null if no information is available. Previously some of them returned an empty string (getQueryString and getHttpProtocolVersion), some other returned null, others caused a php NOTICE. +- Some TJavaScript methods have been modified to clear their use and provide better xss protection: + the undocumented quoteUTF8() was removed, since it didn't provide any real protection; + quoteString() now safely adds quotes around a string: previously it only added escape characters; + the json* family of methods actually checks for errors and generate exceptions on fail (requires + at least php 5.3.3). Upgrading from v3.1.10 ---------------------- -- cgit v1.2.3