File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 6
6
7
7
use function Baka \appPath ;
8
8
use Baka \Http \Request \Phalcon as Request ;
9
+ use Canvas \Http \Response ;
9
10
use Phalcon \Di \FactoryDefault ;
10
11
use Phalcon \Mvc \Micro ;
11
- use Canvas \Http \Response ;
12
12
use Throwable ;
13
13
14
14
/**
@@ -29,7 +29,8 @@ public function run()
29
29
{
30
30
try {
31
31
$ request = new Request ();
32
- return $ this ->application ->handle ($ request ->getServer ('REQUEST_URI ' ));
32
+ $ uri = rawurldecode ($ request ->getServer ('REQUEST_URI ' ));
33
+ return $ this ->application ->handle ($ uri );
33
34
} catch (Throwable $ e ) {
34
35
$ response = new Response ();
35
36
$ response ->handleException ($ e )->send ();
@@ -46,8 +47,8 @@ public function setup()
46
47
//set all the services
47
48
48
49
/**
49
- * @todo Find a better way to handle unit test file include
50
- */
50
+ * @todo Find a better way to handle unit test file include
51
+ */
51
52
$ this ->providers = require appPath ('api/config/providers.php ' );
52
53
53
54
//run my parents setup
You can’t perform that action at this time.
0 commit comments