Welcome Guest, Not a member yet? Register   Sign In
Prevent arbitrary URL parameters
#2

(This post was last modified: 05-09-2020, 07:22 AM by jreklund.)

There are no setting to turn off the CI3 Routing. You can however comment out this line 423 in system\core\Router.php

PHP Code:
//$this->_set_request(array_values($this->uri->segments)); 

It will then only find manually defined routes in application\config\routes.php
Reply


Messages In This Thread
Prevent arbitrary URL parameters - by akinuri - 05-09-2020, 05:24 AM
RE: Prevent arbitrary URL parameters - by jreklund - 05-09-2020, 07:22 AM
RE: Prevent arbitrary URL parameters - by akinuri - 05-09-2020, 08:07 AM
RE: Prevent arbitrary URL parameters - by akinuri - 05-09-2020, 09:04 AM
RE: Prevent arbitrary URL parameters - by akinuri - 05-09-2020, 10:19 AM
RE: Prevent arbitrary URL parameters - by akinuri - 05-11-2020, 07:10 AM
RE: Prevent arbitrary URL parameters - by akinuri - 05-12-2020, 03:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB