Version 4.3.6

This commit is contained in:
Neo committed 2025-12-19 05:49:12 -08:00
1 parent fe1acf984a
commit 1a0c7fd3c2
609 files changed
+14707 -5726

No files matched your search

+11
View File
@@ -230,6 +230,17 @@ class _Internal extends \IPS\Http\Url
return static::convertQueryAsArrayToString( $queryString );
}
/**
* Check if the URL is an open redirect.
* Useful if you are checking if a given URL is internal to ensure it also doesn't redirect elsewhere
*
* @return bool
*/
public function openRedirect()
{
return isset( $this->queryString['app'] ) and $this->queryString['app'] === 'core' and isset( $this->queryString['module'] ) and $this->queryString['module'] === 'system' and isset( $this->queryString['controller'] ) and $this->queryString['controller'] === 'redirect';
}
/* !Deprecated */
/**