Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-21834

Permit user-configurable policies

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Let the user configure RawHtmlMarkupFormatter using a textarea containing a definition compliant with antisamy.xsd, with buttons to load predefined profiles like that for MySpace.

        Attachments

          Activity

          jglick Jesse Glick created issue -
          Hide
          jglick Jesse Glick added a comment -

          Should probably deprecate all the classes currently in the hudson.markup package, creating a fresh formatter (with a more appropriate name and description), and having RawHtmlMarkupFormatter.readResolve switch to it.

          Show
          jglick Jesse Glick added a comment - Should probably deprecate all the classes currently in the hudson.markup package, creating a fresh formatter (with a more appropriate name and description), and having RawHtmlMarkupFormatter.readResolve switch to it.
          Hide
          jglick Jesse Glick added a comment -

          May be better to see https://code.google.com/p/owasp-java-html-sanitizer/wiki/Maven rather than using the current https://github.com/kohsuke/owasp-java-html-sanitizer wrapper.

          Seems that the OWASP Java HTML Sanitizer does not load AntiSamy XML definitions, so maybe this issue is moot, unless AntiSamy can also be bundled to allow configurable policies.

          Show
          jglick Jesse Glick added a comment - May be better to see https://code.google.com/p/owasp-java-html-sanitizer/wiki/Maven rather than using the current https://github.com/kohsuke/owasp-java-html-sanitizer wrapper. Seems that the OWASP Java HTML Sanitizer does not load AntiSamy XML definitions, so maybe this issue is moot, unless AntiSamy can also be bundled to allow configurable policies.
          rtyler R. Tyler Croy made changes -
          Field Original Value New Value
          Workflow JNJira [ 153835 ] JNJira + In-Review [ 178623 ]
          Hide
          jglick Jesse Glick added a comment -
          Show
          jglick Jesse Glick added a comment - https://github.com/jenkinsci/antisamy-markup-formatter-plugin/pull/12 takes a different approach.
          jglick Jesse Glick made changes -
          Resolution Won't Do [ 10001 ]
          Status Open [ 1 ] Resolved [ 5 ]

            People

            Assignee:
            jglick Jesse Glick
            Reporter:
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: