1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/src/net
Vittorio G (VittGam) ffa0c2136e Fix toxURI parsing.
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")
2016-02-28 16:24:50 +01:00
..
autoupdate.cpp Merge branch 'pr2894' 2016-01-30 18:21:20 +01:00
autoupdate.h Improve integrated update code to match the rest 2015-12-10 18:46:07 +01:00
avatarbroadcaster.cpp Fix bad handling of empty avatars 2015-12-19 16:28:57 +01:00
avatarbroadcaster.h Revert "Always offer avatars to friend who come online" 2015-12-19 04:20:05 +01:00
toxdns.cpp Remove deprecated/unused toxdns1 code 2015-12-04 03:37:50 +01:00
toxdns.h Remove deprecated/unused toxdns1 code 2015-12-04 03:37:50 +01:00
toxme.cpp Merge branch 'pr2894' 2016-01-30 18:21:20 +01:00
toxme.h Some english fixes in followup to #2825 2016-01-21 14:56:14 +01:00
toxuri.cpp Fix toxURI parsing. 2016-02-28 16:24:50 +01:00
toxuri.h Fix incorrect copyright headers 2015-06-06 14:51:28 +01:00