mirror of https://github.com/qTox/qTox.git
Browse Source
It was always eating two characters more than needed.
A toxURI passed to handleToxURI always starts with "tox:", it's checked in the handleToxURI callers. So here we need to remove that prefix, that's long 4 characters and not 6.
The previous code was meant to handle tox:// and tox: cases, but the tox:// case is invalid and should not be handled (see #2118).
Fixes: d6a0910fc8 ("fix uri parsing and tox URI detection, closes #2118")
pull/2981/head
1 changed files with 1 additions and 5 deletions
Loading…
Reference in new issue