Commit 99e3108f authored by Liang Ding's avatar Liang Ding Committed by Liang

🎨 Clean code

parent a0f4edb8
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!--
Description: Solo POM. Description: Solo POM.
Version: 3.17.2.44, Jul 29, 2017 Version: 3.17.2.45, Aug 13, 2017
Author: <a href="http://88250.b3log.org">Liang Ding</a> Author: <a href="http://88250.b3log.org">Liang Ding</a>
Author: <a href="http://www.annpeter.cn">Ann Peter</a> Author: <a href="http://www.annpeter.cn">Ann Peter</a>
Author: <a href="http://vanessa.b3log.org">Vanessa</a> Author: <a href="http://vanessa.b3log.org">Vanessa</a>
Author: <a href="https://github.com/nanolikeyou">nanolikeyou</a>
--> -->
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
......
...@@ -61,7 +61,8 @@ import java.util.List; ...@@ -61,7 +61,8 @@ import java.util.List;
* *
* @author <a href="http://88250.b3log.org">Liang Ding</a> * @author <a href="http://88250.b3log.org">Liang Ding</a>
* @author <a href="https://github.com/feroozkhanchintu">feroozkhanchintu</a> * @author <a href="https://github.com/feroozkhanchintu">feroozkhanchintu</a>
* @version 1.1.0.6, Jun 11, 2017 * @author <a href="https://github.com/nanolikeyou">nanolikeyou</a>
* @version 1.1.0.7, Aug 13, 2017
* @since 0.3.1 * @since 0.3.1
*/ */
@RequestProcessor @RequestProcessor
......
...@@ -64,7 +64,8 @@ import java.util.Map; ...@@ -64,7 +64,8 @@ import java.util.Map;
* @author <a href="http://88250.b3log.org">Liang Ding</a> * @author <a href="http://88250.b3log.org">Liang Ding</a>
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a> * @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="mailto:dongxu.wang@acm.org">Dongxu Wang</a> * @author <a href="mailto:dongxu.wang@acm.org">Dongxu Wang</a>
* @version 1.1.1.8, Jul 20, 2017 * @author <a href="https://github.com/nanolikeyou">nanolikeyou</a>
* @version 1.1.1.9, Aug 13, 2017
* @since 0.3.1 * @since 0.3.1
*/ */
@RequestProcessor @RequestProcessor
...@@ -490,10 +491,10 @@ public class LoginProcessor { ...@@ -490,10 +491,10 @@ public class LoginProcessor {
} }
/** /**
* Preventing unvalidated redirects and forwardsSee more at: * Preventing unvalidated redirects and forwards. See more at:
* <a>https://www.owasp.org/index.php/ * <a href="https://www.owasp.org/index.php/Unvalidated_Redirects_and_Forwards_Cheat_Sheet">https://www.owasp.org/index.php/
* Unvalidated_Redirects_and_Forwards_Cheat_Sheet</a> * Unvalidated_Redirects_and_Forwards_Cheat_Sheet</a>.
* *
* @return whether the destinationURL is an internal link * @return whether the destinationURL is an internal link
*/ */
private boolean isInternalLinks(String destinationURL) { private boolean isInternalLinks(String destinationURL) {
......
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