8000 Remove all deprecated APIs/features in prep for 1.7.0 release · Issue #195 · nahsra/antisamy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Remove all deprecated APIs/features in prep for 1.7.0 release #195
Closed
@davewichers

Description

@davewichers

Deprecated things to remove in 1.7.0 branch (including the ability to disable schema validation on AntiSamy policy files):

  • CssHandler(Policy, LinkedList<URI>, List<String>, ResourceBundle) constructor and any uses of it.
  • CssHandler(Policy, LinkedList<URI>, List<String>, String, ResourceBundle) constructor and any uses of it.
  • Entire class ASXHTMLSerializer and any uses of it.
    • Not sure how this is invoked/used. There might be some AntiSamy policy elements related to this that we have to retire too?
  • InternalPolicy.isUseXhtml() method and any uses of it.
  • Remove or change all test cases related to the above changes, and Policy as well, so they all pass.

In Policy.java:

  • Remove public static final String USE_XHTML = "useXHTML"
  • Remove public static boolean getSchemaValidation()
  • Remove public static void setSchemaValidation()

Other things to be done as part of 1.7.0 release:

  • enable the directive "noopenerAndNoreferrerAnchors" by default.
  • Update README to reflect all API/Feature changes, with guidance on how to port to new APIs.

Reformatting prior to 1.7.0 release:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0