[ 0 ]
-
FCPATH/system/codeigniter/core/Common.php [ 354 ] » MY_Exceptions->show_error(arguments)
heading
An Error Was Encountered
message
The URI you submitted has disallowed characters.
template
error_general
status_code
400
349 * @return void 350 */ 351 function show_error($message, $status_code = 500, $heading = 'An Error Was Encountered') 352 { 353 $_error =& load_class('Exceptions', 'core'); 354 echo $_error->show_error($heading, $message, 'error_general', $status_code); 355 exit; 356 } 357 } 358 359 // ------------------------------------------------------------------------
-
FCPATH/system/codeigniter/core/URI.php [ 283 ] » show_error(arguments)
message
The URI you submitted has disallowed characters.
status_code
400
278 { 279 // preg_quote() in PHP 5.3 escapes -, so the str_replace() and addition of - to preg_quote() is to maintain backwards 280 // compatibility as many are unaware of how characters in the permitted_uri_chars will be parsed as a regex pattern 281 if ( ! preg_match('|^['.str_replace(array('\\-', '\-'), '-', preg_quote($this->config->item('permitted_uri_chars'), '-')).']+$|i', urldecode($str))) 282 { 283 show_error('The URI you submitted has disallowed characters.', 400); 284 } 285 } 286 287 // Convert programatic characters to entities and return 288 return str_replace(
-
FCPATH/system/codeigniter/core/URI.php [ 328 ] » CI_URI->_filter_uri(arguments)
str
info@naujininkumokykla.lt
323 public function _explode_segments() 324 { 325 foreach (explode('/', preg_replace('|/*(.+?)/*$|', '\\1', $this->uri_string)) as $val) 326 { 327 // Filter segments for security 328 $val = trim($this->_filter_uri($val)); 329 330 if ($val !== '') 331 { 332 $this->segments[] = $val; 333 }
-
FCPATH/system/codeigniter/core/Router.php [ 174 ] » CI_URI->_explode_segments()
169 { 170 return $this->_set_default_controller(); 171 } 172 173 $this->uri->_remove_url_suffix(); // Remove the URL suffix 174 $this->uri->_explode_segments(); // Compile the segments into an array 175 $this->_parse_routes(); // Parse any custom routing that may exist 176 $this->uri->_reindex_segments(); // Re-index the segment array so that it starts with 1 rather than 0 177 } 178 179 // --------------------------------------------------------------------
-
FCPATH/system/codeigniter/core/CodeIgniter.php [ 164 ] » CI_Router->_set_routing()
159 * ------------------------------------------------------ 160 * Instantiate the routing class and set the routing 161 * ------------------------------------------------------ 162 */ 163 $RTR =& load_class('Router', 'core'); 164 $RTR->_set_routing(); 165 166 // Set any routing overrides that may exist in the main index file 167 if (isset($routing)) 168 { 169 $RTR->_set_overrides($routing);
-
FCPATH/index.php [ 274 ] » require_once(arguments)
0
/home/asvejospar/domains/naujininkumokykla.lt/public_html/system/codeigniter/core/CodeIgniter.php
269 * 270 * And away we go... 271 * 272 */ 273 try { 274 require_once BASEPATH.'core/CodeIgniter'.EXT; 275 } catch (Exception $e) { 276 if (env('APP_DEBUG')) { 277 throw $e; 278 } else { 279 log_message('error', $e->getMessage());