Support

Admin Tools

#12986 How to disable AdminTools for image uploads in easyblog?

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 nicholas on Thursday, 19 July 2012 05:34 CDT

user61678
hi,

I have an issue with uploading images in EasyBlog - seems they're blocked by Admin tools. Anyway I created an WAF exception for easyblog and it's working now. My problem is how to create an exception only for image uploads and not for the entire component? I want my exception to be triggered by queries to com_easyblog when controller=media and task=upload but if I fill-in "Query parameter" with controller=media&task=upload I don't get what I want - it's not working anymore

Please advice how to create WAF exception in this scenario

nicholas
Akeeba Staff
Manager
First go to Admin Tools, Web Application Firewall, Configure WAF. Make sure "Log security exceptions" is set to Yes; if it's not, set it to Yes and click on Save. Now try reproducing your issue. Immediately after that, please go to Admin Tools, Web Application Firewall, Security Exceptions Log and go to the latest record. The latest log entry should have the date and time of when the issue occurred. Please copy the Reason and Target URL here so that I can help you.

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!

user61678
hi,

here's requested data:

Reason: DFIShield
Target URL: http://mysite.com/index.php?option=com_easyblog&controller=media&task=upload&tmpl=component&format=json&sessionid=xxxx&ae5b49c9eaa14f1c412c24734571cb1f=1&bloggger_id=xx&lang=en&place=user:xx&path=/

if I create WAF exception for com_easyblog it's working just fine - all images are uploaded corectly to correct folders. But I want this exception to be valid only for image uploads :)

regards

nicholas
Akeeba Staff
Manager
Try setting it like that:
Component: com_easyblog
View: (leave it blank)
Query: path

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!

user61678
that did the trick. Thank you!

nicholas
Akeeba Staff
Manager
You're welcome :)

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!

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!