Open djmj opened 6 years ago
Actually tel:0123 456789
isn't a valid URL/URI. The space character is not allowed. Unfortunately Rewrite currently fails for invalid URLs. You could have the latest snapshots a try. I recently committed some changes which will result in Rewrite handling invalid URLs more gracefully.
Thank you, i did not know that.I will test it later but removing the spaces made it work.
Is it possible to rewrite tel or mailto links at all?
Could work. Not sure. Never tried it. :smile:
I used a PrimeFaces p:link with a phone href value like tel: 0123 456789 and PrimeFaces calls context.getExternalContext().encodeResourceURL(url). So rewrite module is invoked and fails with following exception. Is it a primefaces problem, that they should not call this function in case of a simple href?