diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2020-10-22 18:18:32 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2020-10-22 18:52:43 +0200 |
commit | f054e581dac4921b302e0459a40d1b4f1fbd28ae (patch) | |
tree | 69a378441f5bb4c7efb64c4b0bc4d34476e6cb9b /Makefile | |
parent | 0f76bbf2d809e93903facaa0da9cfd51cabf93fe (diff) |
Do not change the referenced matched tag data (from gettag()).
Fixes a regression introduced in the refactor in commit
e43b7a48b08a6bbcb4e730e80395b3257681b33e
Now copy the data by value. This structure is small and no performance
regression has been seen.
This was because the tag ID was modified which made subsequent parsed tags of
this type behave strangely:
ctx.tag->id = RSSTagGuidPermalinkTrue;
Input data to reproduce:
<rss>
<channel>
<item>
<guid isPermaLink="false">https://def/</guid>
</item>
<item>
<guid>https://abc/</guid>
</item>
</channel>
</rss>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions