Skip to content

Commit e9de49e

Browse files
committed
Polish URL Cleanup
Fixes: gh-6626
1 parent 2bf126f commit e9de49e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

config/src/test/java/org/springframework/security/config/http/HttpHeadersConfigTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ public void requestWhenUsingHpkpReportUriThenIncludesHpkpHeaderAccordingly()
501501
.andExpect(status().isOk())
502502
.andExpect(header().string(
503503
"Public-Key-Pins-Report-Only",
504-
"max-age=5184000 ; pin-sha256=\"d6qzRu9zOECb90Uez27xWltNsj0e1Md7GkYYkVoZWmM=\" ; report-uri=\"http://example.net/pkp-report\""))
504+
"max-age=5184000 ; pin-sha256=\"d6qzRu9zOECb90Uez27xWltNsj0e1Md7GkYYkVoZWmM=\" ; report-uri=\"https://example.net/pkp-report\""))
505505
.andExpect(excludesDefaults());
506506
}
507507

samples/xml/openid/src/main/webapp/WEB-INF/applicationContext-security.xml

-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
<!--
5555
<user-service id="userService">
5656
<user name="https://luke.taylor.myopenid.com/" authorities="ROLE_SUPERVISOR,ROLE_USER" />
57-
<user name="http://luke.taylor.openid.cn/" authorities="ROLE_SUPERVISOR,ROLE_USER" />
5857
<user name="https://raykrueger.blogspot.com/" authorities="ROLE_SUPERVISOR,ROLE_USER" />
5958
<user name="https://spring.security.test.myopenid.com/" authorities="ROLE_SUPERVISOR,ROLE_USER" />
6059
</user-service>

0 commit comments

Comments
 (0)