Deprecate X-FRAME-OPTIONS ALLOW-FROM Directive
Closes gh-8677
This commit is contained in:
@@ -1034,6 +1034,10 @@ frame-options.attlist &=
|
||||
attribute value {xsd:string}?
|
||||
frame-options.attlist &=
|
||||
## Specify the request parameter to use for the origin when using a 'whitelist' or 'regexp' based strategy. Default is 'from'.
|
||||
## Deprecated ALLOW-FROM is an obsolete directive that no longer works in modern browsers. Instead use
|
||||
## Content-Security-Policy with the
|
||||
## <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors">frame-ancestors</a>
|
||||
## directive.
|
||||
attribute from-parameter {xsd:string}?
|
||||
|
||||
|
||||
|
||||
@@ -3000,7 +3000,10 @@
|
||||
<xs:attribute name="from-parameter" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Specify the request parameter to use for the origin when using a 'whitelist' or 'regexp'
|
||||
based strategy. Default is 'from'.
|
||||
based strategy. Default is 'from'. Deprecated ALLOW-FROM is an obsolete directive that no
|
||||
longer works in modern browsers. Instead use Content-Security-Policy with the <a
|
||||
href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors">frame-ancestors</a>
|
||||
directive.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
|
||||
@@ -52,7 +52,12 @@ public class XsdDocumentedTests {
|
||||
"nsa-websocket-security",
|
||||
"nsa-ldap",
|
||||
"nsa-method-security",
|
||||
"nsa-web");
|
||||
"nsa-web",
|
||||
// deprecated and for removal
|
||||
"nsa-frame-options-strategy",
|
||||
"nsa-frame-options-ref",
|
||||
"nsa-frame-options-value",
|
||||
"nsa-frame-options-from-parameter");
|
||||
|
||||
String referenceLocation = "../docs/manual/src/docs/asciidoc/_includes/servlet/appendix/namespace.adoc";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user