Support

Admin Tools

#31759 How to handle forward slash in submitted form field with DFIShield active

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 on Wednesday, 16 October 2019 17:17 CDT

[email protected]
I have a component which permits authenticated users to fill out customer records which contain a number of fields. In general, the fields use a joomla form field filter of 'string'. When any of these fields contain a substring of ' /' (space slash) or start with a slash, dfishield interprets this as a path character and blocks the post.

I realize I can disable dfishield entirely, or add an exception just for this component, but surely this would be a relaively common occurrence. What would be the 'best' way to manage this case? Write a custom filter for all this component's form fields?

Thanks for your help,
Paul

tampe125
Akeeba Staff
Hello,

usually paths (or URLs) should be encoded using base64. This is the same mechanism is using Joomla for redirects.
That being said, the only solution for you is to create a WAF exception inside Admin Tools configuration and disable security checks for a specific view of that component.

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!