• Resolved pietpompies

    (@pietpompies)


    Hi,

    Is there a way to esc the comma ‘,’ character when adding it to the Advanced Firewall Options section under “Immediately block IPs that access these URLs”?

    At the moment as soon as a comma is present in the url string, the field reads it as another break for a separate url.

    for example ‘/*/?filtering=1&*=1752,1750,1779’ gets chopped by the UI into
    /*/?filtering=1&*=1752
    1750
    1779

    I’ve tried the traditional ‘\’ backslash, didn’t work. Also tried ‘%2C’, but that misses the urls with an explicit ‘,’ character.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @pietpompies, thanks for your question!

    I’ve run some tests also with the URL inside quotes and other comma HTML codes, where the results were the same, so have made the team aware that’s the case at the moment.

    A possible temporary solution, if these URLs are quite specific and very unlikely to be hit by real visitors to your site, you could replace the commas with wildcard (*) characters for now. I was able to trigger a block successfully under these conditions.

    Thanks,
    Peter.

    Thread Starter pietpompies

    (@pietpompies)

    thanks mate, unfortunately that wouldn’t work in our case as we are trying to stop spambots hitting long queries with commas between large amount of variables.
    so would be great to get commas in there somehow.

    Plugin Support wfpeter

    (@wfpeter)

    Unfortunately I can’t comment on the progress of development cases here on the forums, but please keep an eye on our changelog for future releases.

    Thanks again,
    Peter.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Commas in url for Advanced Firewall Options’ is closed to new replies.