Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郭成尧
2017-11-30 10:30:15 +0800
Commit
60749e0b614bfbfb3a98fb50a1d1a44c7a6f1d05
1 parent
c24ea0d0
decodeURIComponent-catch-e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
apps/product/controllers/list.js
apps/product/controllers/list.js
View file @
60749e0
...
...
@@ -344,7 +344,12 @@ const listNew = (req, res, next) => {
}
if
(
params
.
sort_name
)
{
try
{
seoTitle
=
decodeURIComponent
(
params
.
sort_name
);
}
catch
(
e
)
{
logger
.
error
(
'decodeURIComponent seoTitle: '
+
e
);
return
res
.
redirect
(
'/'
);
}
}
try
{
...
...
Please
register
or
login
to post a comment