Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6725

CSP: display:none in Component.renderPlaceholderTag

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 9.0.0-M5
    • wicket-core
    • None

    Description

      org.apache.wicket.Component#renderPlaceholderTag : should rather add some special css class, or javascript which can set display none programmatically (and can also be nonced)

      response.write("<");
      response.write(name);
      response.write(" id=\"");
      response.write(getAjaxRegionMarkupId());
      response.write("\" style=\"display:none\" data-wicket-placeholder=\"\"></");
      response.write(name);
      response.write(">");
      

      (org.apache.wicket.extensions.ajax.markup.html.AjaxIndicatorAppender#afterRender has the same issue)

      Attachments

        Issue Links

          Activity

            People

              papegaaij Emond Papegaaij
              papegaaij Emond Papegaaij
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: