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
dd5a16aa
Commit
dd5a16aa
authored
Jun 30, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #4127: `CaptchaValidator` clientside error message wasn't formed properly
parent
efe5727f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CHANGELOG.md
framework/CHANGELOG.md
+1
-0
CaptchaValidator.php
framework/captcha/CaptchaValidator.php
+2
-2
No files found.
framework/CHANGELOG.md
View file @
dd5a16aa
...
...
@@ -62,6 +62,7 @@ Yii Framework 2 Change Log
-
Bug #3989: Fixed yii
\l
og
\F
ileTarget::$rotateByCopy to avoid any rename (cebe)
-
Bug #3996: Traversing
`Yii::$app->session`
may cause a PHP error (qiangxue)
-
Bug #4020: OCI column detection did not work so gii and other things failed (Sanya1991)
-
Bug #4127:
`CaptchaValidator`
clientside error message wasn't formed properly (samdark)
-
Bug: Fixed inconsistent return of
`\yii\console\Application::runAction()`
(samdark)
-
Bug: URL encoding for the route parameter added to
`\yii\web\UrlManager`
(klimov-paul)
-
Bug: Fixed the bug that requesting protected or private action methods would cause 500 error instead of 404 (qiangxue)
...
...
framework/captcha/CaptchaValidator.php
View file @
dd5a16aa
...
...
@@ -92,9 +92,9 @@ class CaptchaValidator extends Validator
'hash'
=>
$hash
,
'hashKey'
=>
'yiiCaptcha/'
.
$this
->
captchaAction
,
'caseSensitive'
=>
$this
->
caseSensitive
,
'message'
=>
strtr
(
$this
->
message
,
[
'message'
=>
Yii
::
$app
->
getI18n
()
->
format
(
$this
->
message
,
[
'attribute'
=>
$object
->
getAttributeLabel
(
$attribute
),
]),
]
,
Yii
::
$app
->
language
),
];
if
(
$this
->
skipOnEmpty
)
{
$options
[
'skipOnEmpty'
]
=
1
;
...
...
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