-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from xss-stage/xss-string-1.2
Xss string 1.2
- Loading branch information
Showing
18 changed files
with
32 additions
and
11 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file modified
BIN
+50 Bytes
(100%)
xss-extension-string/.gradle/7.4/checksums/md5-checksums.bin
Binary file not shown.
Binary file modified
BIN
+162 Bytes
(100%)
xss-extension-string/.gradle/7.4/checksums/sha1-checksums.bin
Binary file not shown.
Binary file modified
BIN
+49.3 KB
(170%)
xss-extension-string/.gradle/7.4/executionHistory/executionHistory.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
xss-extension-string/.gradle/7.4/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified
BIN
+300 Bytes
(100%)
xss-extension-string/.gradle/7.4/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
xss-extension-string/.gradle/7.4/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified
BIN
+204 Bytes
(100%)
xss-extension-string/.gradle/7.4/fileHashes/resourceHashesCache.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
xss-extension-string/.gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified
BIN
+54 Bytes
(100%)
xss-extension-string/.gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Empty file.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 1 addition & 6 deletions
7
xss-extension-string/src/main/java/org/stage/xss/string/StringXssFilter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...extension-string/src/main/java/org/stage/xss/string/config/StringXssFilterConfigurer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.stage.xss.string.config; | ||
|
||
import org.springframework.context.annotation.Bean; | ||
import org.springframework.context.annotation.Configuration; | ||
import org.springframework.context.annotation.Scope; | ||
import org.springframework.context.annotation.ScopedProxyMode; | ||
import org.stage.xss.core.spi.XssFilter; | ||
import org.stage.xss.string.StringXssFilter; | ||
|
||
@Configuration | ||
public class StringXssFilterConfigurer{ | ||
|
||
@Bean | ||
@Scope(proxyMode = ScopedProxyMode.TARGET_CLASS) | ||
public XssFilter stringXssFilter(){ | ||
return new StringXssFilter(); | ||
} | ||
|
||
} |
1 change: 1 addition & 0 deletions
1
xss-extension-string/src/main/resources/META-INF/spring.factories
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=org.stage.xss.string.config.StringXssFilterConfigurer |