External links with .aspx extensions labelled as invalid even after adding check_override_pattern in Linkchecker to skip .aspx links
I’ve been facing an issue in RTE where the links with .aspx extensions were flagged as invalid by linkchecker.
Hence I added a override pattern in com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl.cfg.json with the below pattern:
"service.check_override_patterns": [
"^system/",
"^.*\\.aspx(?:$|[?#].*)"
]
Note: “^system/” was added as default.
Even after this change, the .aspx links are still getting flagged as invalid in the linkchecker even though they are valid web pages.
How can I fix this?