Support

Admin Tools

#13559 X-Powered-By HTTP header override with no effect

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by Stroetmann on Sunday, 16 September 2012 16:12 CDT

Stroetmann
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: Joomla! 2.5.7 Stable [ Ember ] 13-September-2012 14:00 GMT
PHP version: PHP Version 5.3.3-7+squeeze9
MySQL version: 5.1.61-0+squeeze1-log
Admin Tools version: Admin Tools Professional 2.3.2

Description of my issue:
Hello, unfortunately, does the function is limited.
When I enter my page at the following URL appears the real and the fake value.
http://gsitecrawler.com/tools/Server-Status.aspx (Show all server header fields)
The result:
Server: Apache
X-Powered-By: PHP/5.3.3-7 + squeeze9, lucky (lucky is the fake value)
Thus, all real values ​​are read and this function has no meaning?

nicholas
Akeeba Staff
Manager
This is a known issue, caused by a change in Joomla!'s API. You can open plugins/system/admintools/admintools/pro.php and change this line:
JResponse::setHeader('X-Powered-By',$poweredby);

to read
JResponse::setHeader('X-Powered-By',$poweredby, true);

I will fix that in the next version of Admin Tools.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Stroetmann
Sorry, this change has no effect. The issue is still the same.
The result again:
Server: Apache
X-Powered-By: PHP/5.3.3-7 + squeeze9, lucky (lucky is the fake value)

Do you have another idea?
Thx.

nicholas
Akeeba Staff
Manager
That would mean that something's broken in the Joomla! Platform. Unfortunately I can't do anything to fix that as it would break Joomla!'s session management :(

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Stroetmann
I see. But then this feature is unnecessary and only irritated. It is better to remove the feature in the Pro version completely. What do you think?

nicholas
Akeeba Staff
Manager
Yes, it will be phased out. I was waiting on an API change which would allegedly fix this, but I guess it didn't work as I expected. Too bad. I'll have to remove the feature altogether.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Stroetmann
Thanks for the information.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!