pandoc/src/Text/Pandoc/Readers
Albert Krewinkel 5debb0da0f Shared: Provide custom isURI that rejects unknown schemes [isURI]
We also export the set of known `schemes`.

The new function replaces the function of the same name
from `Network.URI`, as the latter did not check whether a scheme is
well-known.  E.g. MediaWiki wikis frequently feature pages with names
like `User:John`. These links were interpreted as URIs, thus turning
internal links into global links. This is prevented by also checking
whether the scheme of a URI is frequently used (i.e. is IANA registered
or an otherwise well-known scheme).

Fixes: #2713

Update set of well-known URIs from IANA list
All official IANA schemes (as of 2017-05-22) are included in the set of
known schemes.  The four non-official schemes doi, isbn, javascript, and
pmid are kept.
2017-05-23 09:48:11 +02:00
..
Docx Update dates in copyright notices 2017-05-13 23:30:13 +02:00
Odt Shared: rename compactify', compactify'DL -> compactify, compactifyDL. 2017-01-27 21:36:45 +01:00
Org Move indentWith to Text.Pandoc.Parsing (#3687) 2017-05-22 10:10:15 +02:00
CommonMark.hs Stylish-haskell automatic formatting changes. 2017-03-04 13:03:41 +01:00
DocBook.hs Working on readers. 2017-01-25 17:07:40 +01:00
Docx.hs Update dates in copyright notices 2017-05-13 23:30:13 +02:00
EPUB.hs Stylish-haskell automatic formatting changes. 2017-03-04 13:03:41 +01:00
Haddock.hs Stylish-haskell automatic formatting changes. 2017-03-04 13:03:41 +01:00
HTML.hs Update dates in copyright notices 2017-05-13 23:30:13 +02:00
LaTeX.hs Finished implemtation of --resource-path. 2017-05-21 09:02:01 +02:00
Markdown.hs Markdown: allow attributes in reference links to start on next line. 2017-05-18 13:20:32 +02:00
MediaWiki.hs Update dates in copyright notices 2017-05-13 23:30:13 +02:00
Native.hs Update dates in copyright notices 2017-05-13 23:30:13 +02:00
Odt.hs Readers: pass errors straight up to PandocMonad. 2017-01-25 17:07:40 +01:00
OPML.hs Stylish-haskell automatic formatting changes. 2017-03-04 13:03:41 +01:00
Org.hs Update dates in copyright notices 2017-05-13 23:30:13 +02:00
RST.hs Move indentWith to Text.Pandoc.Parsing (#3687) 2017-05-22 10:10:15 +02:00
Textile.hs Textile reader: fix bug for certain links in table cells. 2017-05-15 20:36:11 +02:00
TWiki.hs Simplify linkText in Text.Pandoc.Readers.TWiki (#3605) 2017-04-26 12:04:28 +02:00
Txt2Tags.hs Shared: Provide custom isURI that rejects unknown schemes [isURI] 2017-05-23 09:48:11 +02:00