portal:captcha ReCaptcha fails to render on ajax on Liferay 7.0 + FP81

Description

This issue is caused by the fact that the fix for MOJARRA #4345 is inadequate since it does not decode html entites that use character codes such as / or /.

Steps to reproduce:

  1. Add the following config to portal-ext.properties:

  2. Deploy the Liferay Portal Showcase.

  3. Navigate to the portal:captcha General example.

  4. Click the ReCaptcha checkbox.

  5. Click submit.

If the bug still exists, the ReCaptcha will not reapper and the following error message will appear in the logs:

If the bug is fixed, the ReCaptcha will reappear and the error will not appear in the logs.

Environment

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Zendesk Support

Created May 14, 2019 at 9:58 AM
Updated July 3, 2019 at 2:43 PM
Resolved May 14, 2019 at 10:22 AM