src/sb/Request.php
public function setInputArgsDelimiter($input_args_delimiter)
    {

        //parse arguments by removing path
        $args = preg_replace("~^.{" . strlen($this->path) . "}/?~", "", $this->request);

        //remove $_GET string
        $args = preg_replace("~\?.*?$~", "", $args);

        if ($args !== '') {

            $this->args = explode($input_args_delimiter, $args);

            //decodes url encoding
            foreach ($this->args as &$arg) {
                $arg = urldecode($arg);
            }

            if (method_exists('\App', 'filterAllInput')) {
                \App::filterAllInput($this->args);
            }
        }
    }
public function setInputArgsDelimiter($input_args_delimiter)
    {

        //parse arguments by removing path
        $args = preg_replace("~^.{" . strlen($this->path) . "}/?~", "", $this->request);

        //remove $_GET string
        $args = preg_replace("~\?.*?$~", "", $args);

        if ($args !== '') {

            $this->args = explode($input_args_delimiter, $args);

            //decodes url encoding
            foreach ($this->args as &$arg) {
                $arg = urldecode($arg);
            }

            if (method_exists('\App', 'filterAllInput')) {
                \App::filterAllInput($this->args);
            }
        }
    }
public function setInputArgsDelimiter ( $ input_args_delimiter ) { //parse arguments by removing path $ args = preg_replace ( "~^.{" . strlen ( $ this -> path ) . "}/?~" , "" , $ this -> request ) ; //remove $_GET string $ args = preg_replace ( "~\?.*?$~" , "" , $ args ) ; if ( $ args !== '' ) { $ this -> args = explode ( $ input_args_delimiter , $ args ) ; //decodes url encoding foreach ( $ this -> args as & $ arg ) { $ arg = urldecode ( $ arg ) ; } if ( method_exists ( '\App' , 'filterAllInput' ) ) { \ App :: filterAllInput ( $ this -> args ) ; } } }
Sets the input argument delimeter and parses it
@param $input_args_delimiter
Sets the input argument delimeter and parses it