Changes between Initial Version and Version 1 of Ticket #18149, comment 49
- Timestamp:
- 08/25/2013 09:18:37 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18149, comment 49
initial v1 1 1 Good idea, then we could match links starting with a dot as well. 2 2 So if it doesn't match `'^([a-z]+:|#|\\?|\\.|\\/)'`, add the current protocol. 3 And if anyone want to link to `page`, they should use `./page` instead.3 And if anyone wants to link to `page`, they should use `./page` instead. 4 4 The only thing that goes through now are links with a port number, so not sure if it's best to check against `[a-z]+` or whitelisted protocols.