Item15026: modernize default link protocol pattern
Priority: Normal
Current State: Closed
Released In: 2.1.7
Target Release: patch
Applies To: Engine
Component:
Branches: Release02x01 master
The
$Foswiki::cfg{LinkProtocolPattern}
controls which uri schemes are recognized by Foswiki creating an anchor link for them. I'd suggest the following changes:
- file: keep
- ftp: keep
- gopher: delete
- https: keep
- http: keep
- irc: keep
- mailto: keep
- news: delete
- nntp: delete
- telnet: delete
- tel: new
Note these are not all
known uri schemes. These should be those that
are auto-linked by Foswiki, recognized by browsers in a useful way and are commonly in use. I.e.
tel:...
is important on mobile
phones as it lets you dial a phone number right from the bat.
Any thoughts?
--
MichaelDaum - 19 May 2021