mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-14 16:12:14 +00:00
SEC-1762: Fix input value assertion check for targetUrlParameter.
This commit is contained in:
parent
b5546d1d29
commit
73b67da3a8
@ -154,7 +154,7 @@ public abstract class AbstractAuthenticationTargetUrlRequestHandler {
|
||||
* to "spring-security-redirect".
|
||||
*/
|
||||
public void setTargetUrlParameter(String targetUrlParameter) {
|
||||
Assert.hasText("targetUrlParameter canot be null or empty");
|
||||
Assert.hasText(targetUrlParameter, "targetUrlParameter cannot be null or empty");
|
||||
this.targetUrlParameter = targetUrlParameter;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user