about summary refs log tree commit diff
path: root/app/views/invites
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-07-15 15:56:58 +0200
committerGitHub <noreply@github.com>2021-07-15 15:56:58 +0200
commit211d5c3c300b5a54b60c7b0142158144f9b0d392 (patch)
treecc2232be6461db04a473a5765b3ec4f826be6d47 /app/views/invites
parent3dcf3f2a3a059191668c4edf395e4ad0b19209c5 (diff)
Fix inefficiencies in auto-linking code (#16506)
The auto-linking code basically rewrote the whole string escaping non-ascii
characters in an inefficient way, and building a full character offset map
between the unescaped and escaped texts before sending the contents to
TwitterText's extractor.

Instead of doing that, this commit changes the TwitterText regexps to include
valid IRI characters in addition to valid URI characters.
Diffstat (limited to 'app/views/invites')
0 files changed, 0 insertions, 0 deletions