J4 Issue ?
avatar PhilETaylor
PhilETaylor
7 Oct 2020

Steps to reproduce the issue

Joomla 4
Edit the System - HTTP Headers plugin

Click Green + button several times
Ensure all of the headers are the same (you can leave them at Content-Security-Policy if you like)
Click Save and Close

Expected result

Either de-duplication or a validation error because its insane to reconfigure a header twice as the headers can/should only be output once.

Actual result

GIGO. It saves without deduplication

Screenshot 2020-10-07 at 01 04 35

The header with ONE as a value is overwritten and not output (correctly)

Screenshot 2020-10-07 at 01 04 01

avatar PhilETaylor PhilETaylor - open - 7 Oct 2020
avatar joomla-cms-bot joomla-cms-bot - change - 7 Oct 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 7 Oct 2020
avatar zero-24
zero-24 - comment - 7 Oct 2020

Agree will look into it. What can also happen is that the server sets some headers on the server level like htaccess or the config file of nginx that could result into dublicate headers.

avatar PhilETaylor
PhilETaylor - comment - 7 Oct 2020

I accept that, but that's beyond joomlas control.

avatar zero-24
zero-24 - comment - 7 Oct 2020

Agree but will look into the issue reported here.

avatar zero-24
zero-24 - comment - 17 Oct 2020

@PhilETaylor please check this PR as a first step: #31128

avatar jwaisner jwaisner - change - 2 Nov 2020
Labels Added: J4 Issue
avatar jwaisner jwaisner - labeled - 2 Nov 2020
avatar brianteeman
brianteeman - comment - 21 May 2021

as #31128 was merged what is left to do here?

avatar PhilETaylor
PhilETaylor - comment - 21 May 2021

Closing

avatar PhilETaylor PhilETaylor - change - 21 May 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-05-21 15:47:15
Closed_By PhilETaylor
avatar PhilETaylor PhilETaylor - close - 21 May 2021

Add a Comment

Login with GitHub to post a comment