Prevent Vanity/Redirect service from appending .html
When using the OOTB vanity URL service, the service is appending .html to all endpoint vanities. We don't want this to occur. A couple of things to note, we already have extensionless URLs configured in AEM for our site, and we have URL rewrite conditions in the dispatcher to remove .html.
The reason we want to prevent the vanity service from appending .html is because this is creating many redirect chains, because of the rewrite condition.
How can we prevent the vanity service from appending .html?
EDIT:
This may be more in line with a change that needs to occur with the redirect service, as using the OOTB redirect property also append .html.