Commit Graph

6 Commits

Author SHA1 Message Date
Michal Čihař
dae3390a02 Remove token from GET requests
The CSRF token really should be used only in POST requests. The reason
for that is that it's a bit harder to get to if it is in request body
(with POST) compared to GET request, where it is in the URL (being
easily available in server logs).

Also this will make the URLs look nicer ;-).

This change will definite break some functionality, but since #6297 most
of the code should be safe and remaining bugs can be fixed for upcoming
release.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-28 11:00:23 +02:00
Michal Čihař
6d8e1d7935 Merge branch 'QA_4_6' 2016-07-28 09:38:08 +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
Madhura Jayaratne
2a5f6acbee Class curly braces should be on the next line
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-02-23 22:34:32 +11:00
Madhura Jayaratne
c7063d2517 Add class doc blocks
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-02-23 22:32:05 +11:00
Durgesh
0b64827930 Refactored url parmeters generating, Issue #11990
Signed-off-by: Durgesh <007durgesh219@gmail.com>
2016-02-22 14:36:41 +05:30