Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Konsole
Commits
d10576cc
Commit
d10576cc
authored
Aug 23, 2020
by
Martin Tobias Holmedahl Sandsmark
Committed by
Kurt Hindenburg
Nov 02, 2020
Browse files
fix the scheme checking in the least intrusive way possible (avoids migrating the config)
parent
bf5f5aaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/EscapeSequenceUrlExtractor.cpp
View file @
d10576cc
...
...
@@ -62,7 +62,7 @@ void EscapeSequenceUrlExtractor::appendUrlText(QChar c)
void
EscapeSequenceUrlExtractor
::
setUrl
(
const
QString
&
url
)
{
if
(
_allowedUriSchemas
.
contains
(
QUrl
(
url
).
scheme
()))
{
if
(
_allowedUriSchemas
.
contains
(
QUrl
(
url
).
scheme
()
+
QLatin1String
(
"://"
)
))
{
_currentUrl
.
url
=
url
;
}
else
{
abortUrlInput
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment