Skip to content

[4.0] Correct styles renderer for nonce generation#25788

Merged
wilsonge merged 1 commit intojoomla:4.0-devfrom
zero-24:correct_styles_renderer
Aug 6, 2019
Merged

[4.0] Correct styles renderer for nonce generation#25788
wilsonge merged 1 commit intojoomla:4.0-devfrom
zero-24:correct_styles_renderer

Conversation

@zero-24
Copy link
Copy Markdown
Contributor

@zero-24 zero-24 commented Aug 5, 2019

Pull Request for Issue #25787 cc @brianteeman

Summary of Changes

make sure nonce is appended and dont overwrite the buffer

Steps to reproduce the issue

  1. Enable the Security Headers plugin with default options

  2. Try to create a new field of any of the following types

  • checkboxes
  • radio
  • list
    Which I believe are the only fields with the layout "joomla.form.field.subform.repeatable-table"

Expected result

page refreshes and you can create a field

Actual result

the template doesn't load and checking the source you can see the code in the head is broken
image

Documentation Changes Required

none

@brianteeman
Copy link
Copy Markdown
Contributor

I have tested this item ✅ successfully on 31c3b25


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25788.

@wilsonge
Copy link
Copy Markdown
Contributor

wilsonge commented Aug 6, 2019

Thanks!

@wilsonge wilsonge added this to the Joomla 4.0 milestone Aug 6, 2019
@Fedik
Copy link
Copy Markdown
Member

Fedik commented Aug 6, 2019

a little dot broke everything :)
thanks

@zero-24 zero-24 deleted the correct_styles_renderer branch August 7, 2019 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants