Support

Admin Tools

#37423 htaccess: CORS options are -1, 0, 2

Posted in ‘Admin Tools for Joomla!’
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
3.10.10
PHP version
7.4.30
Admin Tools version
6.1.6

goslingcools

Hi,

In the htaccess maker it looks like you can set Cross-Origin Resource Sharing (CORS) only to  -1, 0, 2. 

While your code looks for:

if ($config->cors == 1)   {...}

  I don't see these lines in my htaccess:   access-control-allow-origin: *   And that's what I am trying to accomplish.   Regards,   Gosling Cools

tampe125
Akeeba Staff

Hello,

thank you for the report! There was indeed a bug, I just updated the code.

Thanks again!

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

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!

Summer vacations: Our support will be closed for replies and new tickets from August 6th to August 21st, 2022 due to summer vacations.