mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-12 11:50:46 +00:00
#3127 properly parse the theme query
This commit is contained in:
1 parent
c9d121afdb
commit
a961d70461
3 files changed
+19
-1
No files matched your search
@@ -745,6 +745,9 @@ static SoProduct *commonProduct = nil;
|
||||
theme = [[context request] formValueForKey: @"theme"];
|
||||
if ([theme length])
|
||||
{
|
||||
// The value is decoded: encode it again so that it can't inject
|
||||
// characters (eg. CR/LF) into the Location header
|
||||
theme = [theme stringByEscapingURL];
|
||||
url = [NSURL URLWithString: newLocation];
|
||||
query = [url query];
|
||||
if ([query length])
|
||||
|
||||
Reference in new issue
Block a user