Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
solo-1
Commits
99e3108f
Commit
99e3108f
authored
Aug 13, 2017
by
Liang Ding
Committed by
Liang
Aug 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🎨
Clean code
parent
a0f4edb8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
pom.xml
pom.xml
+2
-1
src/main/java/org/b3log/solo/processor/FeedProcessor.java
src/main/java/org/b3log/solo/processor/FeedProcessor.java
+2
-1
src/main/java/org/b3log/solo/processor/LoginProcessor.java
src/main/java/org/b3log/solo/processor/LoginProcessor.java
+6
-5
No files found.
pom.xml
View file @
99e3108f
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!--
<!--
Description: Solo POM.
Description: Solo POM.
Version: 3.17.2.4
4, Jul 29
, 2017
Version: 3.17.2.4
5, 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"
...
...
src/main/java/org/b3log/solo/processor/FeedProcessor.java
View file @
99e3108f
...
@@ -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
...
...
src/main/java/org/b3log/solo/processor/LoginProcessor.java
View file @
99e3108f
...
@@ -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 forwards
Se
e 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
)
{
...
...
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