You are here: Foswiki>Tasks Web>Item15026 (28 Mar 2022, MichaelDaum)Edit Attach

Item15026: modernize default link protocol pattern

Priority: Normal
Current State: Closed
Released In: 2.1.7
Target Release: patch
Applies To: Engine
Branches: Release02x01 master
Reported By: MichaelDaum
Waiting For:
Last Change By: MichaelDaum
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

Topic revision: r4 - 28 Mar 2022, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy