LinkValidator threw exception
Found in
EPiServer.CMS.Core 11.20.2
Fixed in
EPiServer.CMS.Core 12.1.0
Created
Feb 18, 2021
Updated
Nov 16, 2021
Area
CMS Core
State
Closed, Fixed and tested
Description
Steps to reproduce:
- Install Alloy.
- Update EPiServer.CMS package to 11.15.1.
- Compile and build.
- On start page, add a Button block in a content area.
- Enter required text.
- In link, click external and paste the JavaScript:
javascript:void(location.href='mailto:' + String.fromCharCode(106,111,104,97,110,46,97,110,116,105,108,97,64,111,112,116,105,109,105,122,101,108,121,46,99,111,109))
- Save and publish block and page.
- Go to admin.
- Run Link Validator job.
An exception caused the job to fail and stop executing, instead of marking it as an invalid link and ignoring it going forward, to complete with a summary of scanned links and failed links.