Add plugin io.spring.nohttp
This commit is contained in:
parent
a604f352ae
commit
12d228c089
@ -2,7 +2,7 @@ buildscript {
|
|||||||
dependencies {
|
dependencies {
|
||||||
classpath 'io.spring.gradle:spring-build-conventions:0.0.33.RELEASE'
|
classpath 'io.spring.gradle:spring-build-conventions:0.0.33.RELEASE'
|
||||||
classpath "org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion"
|
classpath "org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion"
|
||||||
|
classpath 'io.spring.nohttp:nohttp-gradle:0.0.5.RELEASE'
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
maven { url 'https://repo.spring.io/plugins-snapshot' }
|
maven { url 'https://repo.spring.io/plugins-snapshot' }
|
||||||
@ -10,6 +10,7 @@ buildscript {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
apply plugin: 'io.spring.nohttp'
|
||||||
apply plugin: 'io.spring.convention.root'
|
apply plugin: 'io.spring.convention.root'
|
||||||
|
|
||||||
group = 'org.springframework.security.experimental'
|
group = 'org.springframework.security.experimental'
|
||||||
@ -26,3 +27,7 @@ subprojects {
|
|||||||
project.sourceCompatibility = '1.8'
|
project.sourceCompatibility = '1.8'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nohttp {
|
||||||
|
allowlistFile = project.file("etc/nohttp/allowlist.lines")
|
||||||
|
}
|
||||||
|
7
etc/nohttp/allowlist.lines
Normal file
7
etc/nohttp/allowlist.lines
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
^http://[^/]*nabble.com.*
|
||||||
|
^http://blog.opensecurityresearch.com/.*
|
||||||
|
^http://iharder.sourceforge.net/current/java/base64/
|
||||||
|
^http://jaspan.com.*
|
||||||
|
^http://lists.webappsec.org/.*
|
||||||
|
^http://webblaze.cs.berkeley.edu/.*
|
||||||
|
^http://www.w3.org/2000/09/xmldsig.*
|
Loading…
Reference in New Issue
Block a user