Core/Endpoints
* don't use raw input to recreate subcategories for filter urls and external links * if a page does not expect categories it will now error out if it is called with parameters * fixed infite redirect loop that could occur if the pageName was an invalid string * added lost filter string for external page call to NPCs Page
This commit is contained in:
parent
23c5c71f4a
commit
715c1534eb
91 changed files with 288 additions and 261 deletions
|
|
@ -17,9 +17,9 @@ class DataBaseResponse extends TextResponse
|
|||
'callback' => ['filter' => FILTER_CALLBACK, 'options' => [self::class, 'checkCallback' ]]
|
||||
);
|
||||
|
||||
public function __construct(string $pageParam)
|
||||
public function __construct(string $rawParam)
|
||||
{
|
||||
parent::__construct($pageParam);
|
||||
parent::__construct($rawParam);
|
||||
|
||||
if ($this->_get['locale']?->validate())
|
||||
Lang::load($this->_get['locale']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue