- Allow CGI in APS-packages as we can handle that now, fixes #404

This commit is contained in:
Michael Kaufmann (d00p)
2010-09-07 10:36:58 +00:00
parent 3e55073188
commit 1fee5d7242

View File

@@ -1314,12 +1314,14 @@ class ApsParser
//check for special CGI url handlers within mappings //check for special CGI url handlers within mappings
/**
* as of 0.9.13 we can handle CGI ;-), #404
*
$XmlCgiMapping = $ParentMapping->children('http://apstandard.com/ns/1/cgi'); $XmlCgiMapping = $ParentMapping->children('http://apstandard.com/ns/1/cgi');
if($XmlCgiMapping->handler) {
if($XmlCgiMapping->handler)
{
$Error[] = $lng['aps']['cgi']; $Error[] = $lng['aps']['cgi'];
} }
*/
//resolve deeper mappings //resolve deeper mappings
@@ -1567,7 +1569,9 @@ class ApsParser
} }
//CGI //CGI
/**
* as of 0.9.13 we can handle CGI ;-), #404
*
if ($this->aps_version == '1.0') if ($this->aps_version == '1.0')
{ {
// the good ole way // the good ole way
@@ -1586,6 +1590,7 @@ class ApsParser
{ {
$Error[] = $lng['aps']['cgi']; $Error[] = $lng['aps']['cgi'];
} }
*/
//webserver modules //webserver modules