Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
a153750e
Commit
a153750e
authored
Oct 24, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #5745: Gii and debug modules may cause 404 exception when the route contains dashes
parent
2544e86d
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
3 deletions
+6
-3
CHANGELOG.md
extensions/debug/CHANGELOG.md
+1
-0
Module.php
extensions/debug/Module.php
+1
-1
CHANGELOG.md
extensions/gii/CHANGELOG.md
+2
-1
Module.php
extensions/gii/Module.php
+1
-1
CHANGELOG.md
framework/CHANGELOG.md
+1
-0
No files found.
extensions/debug/CHANGELOG.md
View file @
a153750e
...
@@ -5,6 +5,7 @@ Yii Framework 2 debug extension Change Log
...
@@ -5,6 +5,7 @@ Yii Framework 2 debug extension Change Log
-----------------------
-----------------------
-
Bug #5402: Debugger was not loading when there were closures in asset classes (samdark)
-
Bug #5402: Debugger was not loading when there were closures in asset classes (samdark)
-
Bug #5745: Gii and debug modules may cause 404 exception when the route contains dashes (qiangxue)
-
Enh #5600: Allow configuring debug panels in
`yii\debug\Module::panels`
as panel class name strings (qiangxue)
-
Enh #5600: Allow configuring debug panels in
`yii\debug\Module::panels`
as panel class name strings (qiangxue)
...
...
extensions/debug/Module.php
View file @
a153750e
...
@@ -124,7 +124,7 @@ class Module extends \yii\base\Module implements BootstrapInterface
...
@@ -124,7 +124,7 @@ class Module extends \yii\base\Module implements BootstrapInterface
$app
->
getUrlManager
()
->
addRules
([
$app
->
getUrlManager
()
->
addRules
([
$this
->
id
=>
$this
->
id
,
$this
->
id
=>
$this
->
id
,
$this
->
id
.
'/<controller:
\w+>/<action:\w
+>'
=>
$this
->
id
.
'/<controller>/<action>'
,
$this
->
id
.
'/<controller:
[\w\-]+>/<action:[\w\-]
+>'
=>
$this
->
id
.
'/<controller>/<action>'
,
],
false
);
],
false
);
}
}
...
...
extensions/gii/CHANGELOG.md
View file @
a153750e
...
@@ -4,8 +4,9 @@ Yii Framework 2 gii extension Change Log
...
@@ -4,8 +4,9 @@ Yii Framework 2 gii extension Change Log
2.
0.1 under development
2.
0.1 under development
-----------------------
-----------------------
-
Enh #5613: Added
`--overwrite`
option to Gii console command to support overwriting all files (motin,
qiangxue)
-
Bug #5745: Gii and debug modules may cause 404 exception when the route contains dashes (
qiangxue)
-
Bug: Gii console command help information does not contain global options (qiangxue)
-
Bug: Gii console command help information does not contain global options (qiangxue)
-
Enh #5613: Added
`--overwrite`
option to Gii console command to support overwriting all files (motin, qiangxue)
2.0.0 October 12, 2014
2.0.0 October 12, 2014
...
...
extensions/gii/Module.php
View file @
a153750e
...
@@ -88,7 +88,7 @@ class Module extends \yii\base\Module implements BootstrapInterface
...
@@ -88,7 +88,7 @@ class Module extends \yii\base\Module implements BootstrapInterface
$app
->
getUrlManager
()
->
addRules
([
$app
->
getUrlManager
()
->
addRules
([
$this
->
id
=>
$this
->
id
.
'/default/index'
,
$this
->
id
=>
$this
->
id
.
'/default/index'
,
$this
->
id
.
'/<id:\w+>'
=>
$this
->
id
.
'/default/view'
,
$this
->
id
.
'/<id:\w+>'
=>
$this
->
id
.
'/default/view'
,
$this
->
id
.
'/<controller:
\w+>/<action:\w
+>'
=>
$this
->
id
.
'/<controller>/<action>'
,
$this
->
id
.
'/<controller:
[\w\-]+>/<action:[\w\-]
+>'
=>
$this
->
id
.
'/<controller>/<action>'
,
],
false
);
],
false
);
}
elseif
(
$app
instanceof
\yii\console\Application
)
{
}
elseif
(
$app
instanceof
\yii\console\Application
)
{
$app
->
controllerMap
[
$this
->
id
]
=
[
$app
->
controllerMap
[
$this
->
id
]
=
[
...
...
framework/CHANGELOG.md
View file @
a153750e
...
@@ -13,6 +13,7 @@ Yii Framework 2 Change Log
...
@@ -13,6 +13,7 @@ Yii Framework 2 Change Log
-
Bug #5665: The
`currentPage`
meta data in the RESTful result should be 1-based, similar to that in HTTP headers (qiangxue)
-
Bug #5665: The
`currentPage`
meta data in the RESTful result should be 1-based, similar to that in HTTP headers (qiangxue)
-
Bug #5682: The
`asset`
command would incorrectly combine CSS files when
`UrlManager::linkAssets`
is true (dmvslv)
-
Bug #5682: The
`asset`
command would incorrectly combine CSS files when
`UrlManager::linkAssets`
is true (dmvslv)
-
Bug #5702: Parenthesis should be automatically added to
`Validator::whenClient`
to avoid js error (mdmunir, qiangxue)
-
Bug #5702: Parenthesis should be automatically added to
`Validator::whenClient`
to avoid js error (mdmunir, qiangxue)
-
Bug #5745: Gii and debug modules may cause 404 exception when the route contains dashes (qiangxue)
-
Bug: Gii console command help information does not contain global options (qiangxue)
-
Bug: Gii console command help information does not contain global options (qiangxue)
-
Bug:
`yii\web\UrlRule`
was unable to create URLs for rules containing unicode characters (samdark)
-
Bug:
`yii\web\UrlRule`
was unable to create URLs for rules containing unicode characters (samdark)
-
Enh #5223: Query builder now supports selecting sub-queries as columns (qiangxue)
-
Enh #5223: Query builder now supports selecting sub-queries as columns (qiangxue)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment