Commit 8a02fa6a by 泽锋 李

fix

parent d70f8f38
...@@ -54,7 +54,7 @@ namespace AutoTurnOver.Models ...@@ -54,7 +54,7 @@ namespace AutoTurnOver.Models
{ {
token = context.Request.Query["token"].FirstOrDefault(); token = context.Request.Query["token"].FirstOrDefault();
} }
if (token != null) if ((!string.IsNullOrWhiteSpace(token)) && (!"null".Equals(token)))
{ {
token = WebUtility.UrlDecode(token); token = WebUtility.UrlDecode(token);
var tokenDecode = WebUtility.UrlDecode(token); var tokenDecode = WebUtility.UrlDecode(token);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment