• Resolved MilenMK

    (@milenmk)


    Hello.

    While adding some blocking rules, I’ve checked my .htaccess file. At a lot of places I’ve found the symbol ” ‵ “. The effect of it is that it blocks EVERYTHING afterwards i.e instead of normal “black” text I see “red” (inactive) text. To my opinion, that means that everything after first ” ‵ ” won’t be readable and thus ineffective (like cache rules, rewrite rules and so on). Am I right?

    • This topic was modified 6 years, 8 months ago by MilenMK.
    • This topic was modified 6 years, 8 months ago by MilenMK.
    • This topic was modified 6 years, 8 months ago by MilenMK.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi,

    While adding some blocking rules

    What blocking rules did you add? And did you enable any of the features in the plugin to add these rules?\

    Thank you

    Thread Starter MilenMK

    (@milenmk)

    ADVANCED_CHAR_STRING_FILTER, 5G/6G:[QUERY STRINGS] and 5G/6G:[REQUEST STRINGS].

    If I remove the coresponding lines/character only from the .htaccess, after some time it’s updated and they are back. So, for now, I’ve edited “all-in-one-wp-security-and-firewall/classes/wp-security-utility-htaccess.php” and:

    
    Line 804: Removed RedirectMatch 403 \`
    line 905: Changed to RewriteCond %{QUERY_STRING} (\\\|\.\./|=\'$|=%27$) [NC,OR]
    Line 1008: Changed to RewriteCond %{QUERY_STRING} (\\|\.\.\.|\.\./|~|<|>|\|) [NC,OR]
    Line 1036: RedirectMatch 403 (?i)(~|<|>|:|;|,|%|\\|\s|\{|\}|\[|\]|\|)
    

    P.S.: To post the sign here I use the numeric value for the character “&-#-0-9-6-;” (without the dashes ofcourse ?? ). Not sure if this will work in .htaccess.

    • This reply was modified 6 years, 8 months ago by MilenMK.
    • This reply was modified 6 years, 8 months ago by MilenMK.
    • This reply was modified 6 years, 8 months ago by MilenMK.
    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, did you enable the following feature?

    Enable 6G Firewall Protection:

    If you did, did this cause an issue? If it did, did you enable and used Custom Rules tab for your custom code?

    The same applies for the following features.

    ADVANCED_CHAR_STRING_FILTER

    If you did, did this cause an issue? If it did, did you enable and used Custom Rules tab for your custom code?

    Regards

    Thread Starter MilenMK

    (@milenmk)

    I have enabled 6G Firewall Protection and ADVANCED_CHAR_STRING_FILTER

    I don’t have any custom rules added within your plugin. But I have other rules in .htaccess – general rewrite rules and W3 Total Cache rules which are after your plugin rules.

    After the changes described in my previous post everything is OK.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, that is good to know that your issue is resolved?

    If it is resolved, can you mark this support thread as resolved.

    Kind regards

    Thread Starter MilenMK

    (@milenmk)

    Yeah, resolved. But please consider this in your next release.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Bad character in blocked list’ is closed to new replies.