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

Posted in ‘Akeeba 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.
Saturday, 14 September 2019 14:09 CDT
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
Custom Fields
Joomla! version (in x.y.z format) 3.9.11
PHP version (in x.y.z format) 7.2.22
Admin Tools version (x.y.z format) 5.3.4
paul@orangecubed.ca
Monday, 16 September 2019 07:45 CDT
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



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



tampe125
Wednesday, 16 October 2019 17:17 CDT
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.
system
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

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!

Cookies Notification - Action required

This website uses cookies to provide user authentication and improve your user experience. Please indicate whether you consent to our site placing these cookies on your device. You can change your preference later, from the controls which will be made available to you at the bottom of every page of our site.