Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
bug
  • Loading branch information
star7th committed Dec 2, 2021
1 parent 9ea5289 commit c7f1003
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion web/index.html
Expand Up @@ -15,4 +15,4 @@
'server': window.location.protocol + '//' + window.location.host + window.location.pathname + '../server/index.php?s=',
// "lang" :'en'
'lang': 'zh-cn'
}</script><link href=./static/css/app.4f1cf04e7e22cc9f0a077251717b6092.css rel=stylesheet></head><body class=grey-bg><div id=app></div><div style=display:none>本网站基于开源版showdoc搭建,仅供私人使用。如需访问showdoc官网,请在搜索引擎里搜索showdoc字样或者直接访问showdoc.com.cn</div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.1eb6213d11eb61d1bd46.js></script><script type=text/javascript src=./static/js/app.ce464282b6119d6e6126.js></script></body></html>
}</script><link href=./static/css/app.a0a2f093ed82191b52bcb2a6707e311d.css rel=stylesheet></head><body class=grey-bg><div id=app></div><div style=display:none>本网站基于开源版showdoc搭建,仅供私人使用。如需访问showdoc官网,请在搜索引擎里搜索showdoc字样或者直接访问showdoc.com.cn</div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.1eb6213d11eb61d1bd46.js></script><script type=text/javascript src=./static/js/app.cfc810eaa6a41d90a988.js></script></body></html>

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion web/static/js/app.ce464282b6119d6e6126.js

This file was deleted.

1 change: 1 addition & 0 deletions web/static/js/app.cfc810eaa6a41d90a988.js

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions web_src/src/components/user/Login.vue
Expand Up @@ -90,7 +90,8 @@ export default {
let redirect = decodeURIComponent(this.$route.query.redirect)
if (
redirect.search(/[^A-Za-z0-9/:\?\._\*\+\-]+.*/i) > -1 ||
redirect.indexOf('.') > -1
redirect.indexOf('.') > -1 ||
redirect.indexOf('//') > -1
) {
this.$alert('illegal redirect')
return false
Expand Down Expand Up @@ -163,7 +164,8 @@ export default {
let redirect = decodeURIComponent(this.$route.query.redirect)
if (
redirect.search(/[^A-Za-z0-9/:\?\._\*\+\-]+.*/i) > -1 ||
redirect.indexOf('.') > -1
redirect.indexOf('.') > -1 ||
redirect.indexOf('//') > -1
) {
this.$alert('illegal redirect')
return false
Expand Down

0 comments on commit c7f1003

Please sign in to comment.