summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-25 14:37:22 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-25 14:37:22 +0200
commitd4843a14eb6b4b6df52fc8c6d517ec6357e35cd7 (patch)
treef81a3f69f355f80d07aa697788aca2f22d113a9b /src
parent6197186db8824bf95b2f0b9412b473c759bba90f (diff)
Don't alter contents of bitcoin URIs
IssueID #215
Diffstat (limited to 'src')
-rw-r--r--src/gmutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gmutil.c b/src/gmutil.c
index bc302bef..5bb3732c 100644
--- a/src/gmutil.c
+++ b/src/gmutil.c
@@ -258,7 +258,7 @@ const iString *absoluteUrl_String(const iString *d, const iString *urlMaybeRelat
258 init_Url(&orig, d); 258 init_Url(&orig, d);
259 init_Url(&rel, urlMaybeRelative); 259 init_Url(&rel, urlMaybeRelative);
260 if (equalCase_Rangecc(rel.scheme, "data") || equalCase_Rangecc(rel.scheme, "about") || 260 if (equalCase_Rangecc(rel.scheme, "data") || equalCase_Rangecc(rel.scheme, "about") ||
261 equalCase_Rangecc(rel.scheme, "mailto")) { 261 equalCase_Rangecc(rel.scheme, "bitcoin") || equalCase_Rangecc(rel.scheme, "mailto")) {
262 /* Special case, the contents should be left unparsed. */ 262 /* Special case, the contents should be left unparsed. */
263 return urlMaybeRelative; 263 return urlMaybeRelative;
264 } 264 }