diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-24 09:10:41 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-24 09:12:34 +0200 |
commit | 86b220841276fc3ddcdebf1eb4bf6543e9aa39b7 (patch) | |
tree | 067fd07e8794c7e3763ab086da77ecbb747f2442 /src/gmdocument.c | |
parent | 6fa031ddb806832d8c189a35579701f55b779c12 (diff) |
Fixed regression in conman.org client torture test 21
Couple of problems:
- "data:" links were not flagged as supported
- "data:" links are not supposed to further decoded or encoded since
they are processed internally in the client
IssueID #217
Diffstat (limited to 'src/gmdocument.c')
-rw-r--r-- | src/gmdocument.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c index 77f10c61..3cf00a4b 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c | |||
@@ -195,6 +195,7 @@ static iRangecc addLink_GmDocument_(iGmDocument *d, iRangecc line, iGmLinkId *li | |||
195 | link->flags |= file_GmLinkFlag; | 195 | link->flags |= file_GmLinkFlag; |
196 | } | 196 | } |
197 | else if (equalCase_Rangecc(parts.scheme, "data")) { | 197 | else if (equalCase_Rangecc(parts.scheme, "data")) { |
198 | link->flags |= data_GmLinkFlag; | ||
198 | } | 199 | } |
199 | else if (equalCase_Rangecc(parts.scheme, "about")) { | 200 | else if (equalCase_Rangecc(parts.scheme, "about")) { |
200 | link->flags |= about_GmLinkFlag; | 201 | link->flags |= about_GmLinkFlag; |