The following function returns false, but should return true:
SharePoint/Office365 allows users to share items via URL. These generated URLs contain a simple combination of characters that are returned invalid by isValid. Example URL:
https://companyname.sharepoint.com/:f:/s/site-collection-name/subsite-name/Ds10TaJKAKhMp1hE0B_42WcBVhTHD3EQJKWhGprKFP3vpQ?e=14ohmf
In this example, the :f:, which denotes a shared folder, is considered invalid. Other example designations used by SharePoint:
:w: for Word
:x: for Excel
:p: for PowerPoint
:b: for PDF
I've checked and confirmed the issue that happened on lucee and also I added a fix for this ticket.
Pull request: https://github.com/lucee/Lucee/pull/844
Just to add, this is an issue I’ve run up against as well. It’s the colon, as Pothys has fixed in his pull request.
Wikipedia URLs such as https://en.wikipedia.org/wiki/Talk:Lucee fail validation, as do FW/1 URLs that commonly use colons for subsystems.
please give the build a try
, I've checked this ticket and the issue was solved in lucee latest version 5.3.8.129-SNAPSHOT. Now, isValid for URL works fine. And I added a fixed version too.