Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyperlinking breaks for some links. #403

Closed
rburchell opened this issue Apr 13, 2016 · 0 comments
Closed

Hyperlinking breaks for some links. #403

rburchell opened this issue Apr 13, 2016 · 0 comments

Comments

@rburchell
Copy link
Contributor

Steps to reproduce:

special added a commit to special/ricochet that referenced this issue Apr 14, 2016
When formatting links to be displayed in messages, using repeated calls
to QString::arg() will interpret '%0' and similar in the URL as a
placeholder, resulting in the link not being properly formatted.

Depending on the value, this can either result in a broken URL when
copied to the clipboard (ricochet-im#403), or the URL being displayed with a label
of just '%2' (ricochet-im#372).

This cannot be used to mislabel links, and there is no printf-style
format vulnerability with QString::arg. There is no security impact.
@special special closed this as completed Apr 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants