aboutsummaryrefslogtreecommitdiff
path: root/lib/xml_builder.ex
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2018-06-18 12:45:15 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2018-07-30 22:01:48 +0200
commit3623504e5d7b4dd6dd250151685343109de1e889 (patch)
treee1270d0533f2a165a7f65ec29fd2d899c8f9b0ef /lib/xml_builder.ex
parentba72c51a0f6f8a64a24a96c89d4cb8cfcfb7a245 (diff)
downloadpleroma-3623504e5d7b4dd6dd250151685343109de1e889.tar.gz
[Pleroma.Formatter]: Add support for non-HTTP schemes in URIs
The call to the regex in add_links is there just to be sure it’s a legal URI, it can be removed if you want to get more performance. The URI Schemes list is sorted, but with http(s) at the start (in case it might make it faster for common links). Closes: https://git.pleroma.social/pleroma/pleroma/issues/127
Diffstat (limited to 'lib/xml_builder.ex')
0 files changed, 0 insertions, 0 deletions