User tests: Successful: Unsuccessful:
Pull Request for Issue #18301 (comment)
Is there a reason why all the language strings are in the .sys.ini language file and not spread across two language files as normal
Thanks @brianteeman
two files & postinstall works also on new installs
one file & postinstall is broken.
Status | New | ⇒ | Pending |
Category | ⇒ | SQL Administration com_admin Postgresql Language & Strings Installation Front End Plugins |
Labels |
Added:
?
?
|
There are other things that can be done for customhttpheader.xml
but it could be done in another PR;
JSITE
and JADMINISTRATOR
.PLG_SYSTEM_HTTPHEADER_ADDITIONAL_HEADER_CLIENT="Site selection"
proposing Site, Administrator or Both, makes no sense. It should have "Client" as value.Thanks fixed.
I was not aware we had a plg_system_httpheader in 3.x
I was not aware we had a plg_system_httpheader in 3.x
https://github.com/zero-24/plg_system_httpheader
This is the base version for the 4.0.0 and you can use that on any 3.xer site you want :)
Referrer-Policy
setting will not save Disabled
.
Just pushed the changes for disabled.
The Enable default security headers button does nothing.
can you please double check that? It should just enable the plugin currently there is no redirection implemented.
Still disabled. I expect the postinstall message to disappear after clicking the button if the plugin is to be enabled.
Still disabled. I expect the postinstall message to disappear after clicking the button if the plugin is enabled.
Sure. hmm I'm going to debug this one. Maybe i'm also going to redirect the user to the edit page so they can configure the needed values in the plugin if they hit enable. Let's see what is the problem and how to fix it.
I have just fixed the button. A redirect to the plugin edit page is not possible ;)
I'm going to review that proposal. Thanks!
hmm look like this is working. My test before that resulted into a "you are not allowed to use this link directly" error. Now this is fixed. So commit is in coming. Thanks @brianteeman
The default headers are not set. A var dump of $this->params->get('xframeoptions')
results in string(1) "1"
which is not the same type as ===1
.
// X-Frame-Options
if ($this->params->get('xframeoptions', 1) === 1)
{
$this->app->setHeader('X-Frame-Options', 'SAMEORIGIN');
}
Thanks should be fixed by the last commit.
I had to save the plugin initially before it would be in effect. 1
should be a string as follows:
get('xframeoptions', '1')
I am testing with your branch rather than via PatchTester. This is the error I get when doing a fresh install. I know it is unrelated to your PR, but how to fix it?
0 Could not create session directory "/var/lib/php/session"
Hmm i have no idea how the session things works nowdays in 4.0 can your user write to that path?
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-03-09 10:46:50 |
Closed_By | ⇒ | wilsonge |
Thanks Tobias :)
The xml file has no manifest part for languages. I suggest to add them.