Commit Graph

13 Commits

Author SHA1 Message Date
Michal Čihař
3e91fe55fb Merge branch 'QA_4_6-security' into master-security 2016-07-28 10:55:12 +02:00
Michal Čihař
8dcaae5f83 Do not try to wrap output in case response handling is disabled
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-28 10:50:35 +02:00
Michal Čihař
dce94f229f More consistency for URL::getCommon
Now URL::getCommon always returns HTML encoded string, if you want
unencded one, use URL::getCommonRaw. This makes it easier to review the
code if uses correct variant.

Also I've fixed several wrong uses of the HTML encoded variant in
Location header.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-17 12:44:29 +02:00
Michal Čihař
b8d5d6e9b2 Merge branch 'QA_4_6' 2016-03-09 14:08:03 +01:00
Michal Čihař
8310691341 Add PHP 5.5.0 error codes as well
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-03-09 14:07:25 +01:00
Michal Čihař
f01b3b7ddd Merge branch 'QA_4_6' 2016-03-09 11:59:36 +01:00
Michal Čihař
c964633278 Provide diagnostics for JSON encoding errors
Issue #11705

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-03-09 11:43:06 +01:00
Madhura Jayaratne
37cf811f36 Add missing parameter in doc comment
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-02-19 22:41:18 +11:00
Michal Čihař
c2b41b829a Wrap header() and headers_sent() in response
This allows us to test the code without using runkit. Currenly only
AuthenticationHttp is migrated to new code, but others will follow.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-03 19:49:05 +01:00
Michal Čihař
ed96969ff9 Merge branch 'QA_4_5' 2016-01-28 09:23:27 +01:00
Michal Čihař
55b317c699 Remove /*overload*/ prefix from mb_* calls
I believe this was temporary flagging to see which code is migrated and
can be safely removed now.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-04 16:35:28 +01:00
Hugues Peccatte
6f4676cdfc Merge remote-tracking branch 'origin/master' into useNamespaces_master 2015-10-04 18:04:49 +02:00
Hugues Peccatte
0761fb1801 Rename classes files.
Rename classes.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:21 +02:00