Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix linkify to only link to proper URLs
This doesn't check for really well formed URLs, but it limits the matching to only allowed characters in URIs. It makes up for escapeForHtml() being already called, so it matches `&` separately. Tested with: # '"> should be excluded 'https://github.com/os-autoinst/openQA' "https://github.com/os-autoinst/openQA.git" <https://github.com/os-autoinst/os-autoinst.git> # ) should be included https://de.wikipedia.org/wiki/Queen_(Band) # query strings should be included https://github.com/os-autoinst/openQA?foo=1%20&bar=*2
- Loading branch information