Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Riffaz 10 months ago.

Assigned support staff: Riffaz.

Author Posts
November 20, 2020 at 6:55 am #7490589

desireeM

Our error logs are filled with these errors, as there are bots trying out to XSS the sites.

the issue happens e.g. when requesting an url like:
hidden link">

The issue is in absolute-links.class.php in AbsoluteLinks::_process_generic_text function, specifically:
$text = preg_replace( array_keys( $def_url ), array_values( $def_url ), $text );

November 23, 2020 at 2:05 am #7504387

Riffaz

Hi,

Thank you for contacting WPML support.

Could you please show a screenshot of the issue you are getting?
Also, please provide the WPML debug info for better and faster support as explained here: https://wpml.org/faq/provide-debug-information-faster-support/

Regards,
Riffaz.

The topic ‘[Closed] preg_replace(): Compilation failed: missing closing parenthesis at offset 61’ is closed to new replies.