Double quote in append_search_query() not 5G/6G Firewall compatible
-
Hi,
when WP-Security Plugin is installed and the 5G / 6G Firewall rules are enabled, all search results run in 403 Error. The reason is, the value of hilite Parameter ist wrapped into double quotes.
Fix: exchange of ddouble quotes in Line 107 in hlst.php will solve the problem.BEFORE:
106 if ( self::have_search_terms() ) { 107 $url = add_query_arg('hilite', urlencode( '"' . implode('","',self::$search_terms) . '"' ), $url); 108 }
AFTER:
106 if ( self::have_search_terms() ) { 107 $url = add_query_arg('hilite', urlencode( "'" . implode("','",self::$search_terms) . "'" ), $url); 108 }
regards
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Double quote in append_search_query() not 5G/6G Firewall compatible’ is closed to new replies.