nitro icon indicating copy to clipboard operation
nitro copied to clipboard

Prerender scans json properties for links, failing regex

Open cyberalien opened this issue 5 months ago • 6 comments

Environment

Nitro: 2.8.1 Node: 20.5.0

Reproduction

Nuxt demo, run npm run generate to trigger error: https://stackblitz.com/edit/github-ktqr8f?file=pages%2Findex.vue

Describe the bug

Nitro contains regex for finding links in HTML: https://github.com/unjs/nitro/blob/7d3ca94f14aa712eaeb0c4f0b8d81b126f2e913b/src/prerender.ts#L360

It attempts to parse HTML that is passed as serialised JSON to element, resulting in exception.

Part of HTML that Nitro parses incorrectly (small chunk to show error):

<!--[--><!--[--><a
                                                    class="if--icon align-left align-top"
                                                    href="/flag/ad-1x1/"
                                                    ><!--[--><iconify-icon
                                                        icon='{"width":512,"height":512,"body":"&lt;path fill=\"#d0103a\" d=\"M0 0h512v512H0z\"/&gt;&lt;path fill=\"#fedf00\" d=\"M0 0h348.2v512H0z\"/&gt;&lt;path fill=\"#0018a8\" d=\"M0 0h163.8v512H0z\"/&gt;&lt;path fill=\"#c7b37f\" d=\"M240.3 173.3c6.2 0 8.7 5.3 14.9 5.3c3.8 0 6-1.2 9.3-3.1c2.4-1.3 3.8-2 6.5-2s4.4.8 5.8 3.1a9 9 0 0 1 1 5.4a32 32 0 0 1-2.1 6.7c-.5 1.2-1 2-1 3.3c0 3.3 4.4 4.4 7.4 4.5c.7 0 6.3 0 9.7-3.4c-1.9 0-4-1.5-4-3.4c0-2 1.5-3.5 3.5-4.1c.4-.1 1 .2 1.4 0c.5-.2.2-.8.7-1.1c1-.8 1.6-1.3 2.9-1.3a3 3 0 0 1 2 .6c.3.2.5.6.9.6c1 0 1.4-.6 2.3-.6c.7 0 1.2 0 1.8.4c.6.3.6 1.2 1.2 1.2c.3 0 1.9-.6 2.8-.6c1.7 0 2.7.6 3.8 2c.3.3.5 1 .8 1a5 5 0 0 1 3.9 2.4c.2.3.5 1.1.9 1.3c.4.1.7.1 1.3.5a4.8 4.8 0 0 1 2.3 3.9c0 .5-.3 1.2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.9-2.4-1.5-3.8a15 15 0 0 1-1.7-6.9c0-2.2.2-3.5 1.5-5.3c1.3-1.9 3-2.3 5.2-2.3\"/&gt;&lt;g fill=\"none\" stroke=\"#703d29\"&gt;&lt;path stroke-linejoin=\"round\" stroke-width=\".5\" d=\"M217.9 191.2c.2.9.9 1.6 2 2a3 3 0 0 0 3-1.1c.8-1 .7-2.3.5-3.3a3.8 3.8 0 0 0-1.4-1.8z\"/&gt;&lt;path stroke-linecap=\"round\" stroke-width=\".5\" d=\"M320.8 252.9c-1-2.3-3.4-1.3-3.6 0c-.3 3 2.3 3.8 4.1 3.3c.9-.2 1.6-.8 2-1.5c.5-.8.6-2 .3-3a4 4 0 0 0-.7-1.3a4 4 0 0 0-1-1c-.7-.4-1.5-.5-2.7-.5c-4.4 0-8.3 5.3-9.6 10.8a23.6 23.6 0 0 0-.2 9.6a18 18 0 0 0 4.7 9a20 20 0 0 0 7.9 4.7c1.1.3 2.2.3 3.1 0c2.7-.5 3.9-3 2.6-5.5c-1.1-2-4.3-3.2-5.8-.6a2.6 2.6 0 0 0-.4 1.3c0 .7.3 1.5.8 1.8c1.2.8 3 .6 3-1.5\"/&gt;&lt;path stroke-width=\".7\" d=\"M307 283.2a9 9 0 0 1 5.3-3c2.4-.2 4.5.5 6.6 1.6a14.9 14.9 0 0 1 8.6 13.6c0 3-.8 6-1.5 7.6c-.7 1.3-2.5 7.1-12.3 11.2a67.4 67.4 0 0 1-20.5 3c-8.4.4-16 .7-20.5 6.2\"/&gt;&lt;g stroke-width=\".6\"&gt;&lt;path d=\"M309.1 292.6c-.2-.9 0-1.7.7-2.7c1-1.3 2.9-1.7 4.7-.7c.6.3 1.3.8 2 1.7l1 1.2l.8 2c2 5.6-1.2 11.7-5.2 14.1c-3.2 2-7 2.8-11.5 3.3l-5.3.3h-7.6a56.3 56.3 0 0 0-5.8 0l-6 .6l-4.4.8l-1.5.4l-1 .3a31.9 31.9 0 0 0-7.7 3.3c-.7.4-1.5.9-2 1.4l-1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 1.6l-.4 1.2l-.3 1.5l-.2 1m15.2-8v1.4l-.3 1l-.7 1.7l-1.1 1.5l-1.2 1l-1 .4l-1.2.3\"/&gt;&lt;path stroke-width=\".6\" d=\"M255.8 327.3c-.3 1.3-1.5 2.8-4.3 3.4h-.5\"/&gt;&lt;path stroke-width=\".7\" d=\"M323.4 285a14.6 14.6 0 0 1 4.5 10.8c-.1 2.8-.8 6-1.6 7.5c-.7 1.3-2.5 7.2-12.3 11.2a67.7 67.7 0 0 1-20.5 3.1c-8.2.4-15.8.7-20.3 6\"/&gt;&lt;path stroke-width=\".5\" d=\"M310 290.3c.6-.9 2.8-1.9 4.6-1a5 5 0 0 1 2 1.7\"/&gt;&lt;path stroke-width=\".7\" d=\"m321.3 283l1.1.4a5.6 5.6 0 0 0 3.2 0c2.2-.6 3.7-2.7 2.5-5.5a4.5 4.5 0 0 0-1.4-1.7\"/&gt;&lt;path stroke-linecap=\"round\" stroke-width=\".5\" d=\"M192.2 223.8c-1.5 1-2.6 1.2-3.8 2.5a22.5 22.5 0 0 0-2.1 5.5m36.9-41.4c0 1.4-1 2.3-2.4 2.6\"/&gt;&lt;path stroke-width=\".5\" d=\"M317.7 217.6c3.8 0 14.8 2.9 14.9 15.8c0 12.8-8 14.9-11.1 15.7\"/&gt;&lt;path stroke-width=\".5\" d=\"M318.7 217.6c6.5-.3 13.2 4.5 13.5 16.5c.3 9.4-6.4 13.6-9.6 14.5m-7.6 14.1l.2-1.2l.4-2l.6-1.7l.7-1.3l.8-1m6.3-2.7l-.1 1.2l-.4.9l-.5.8l-.7.5l-1 .3h-1.5m-11.4-42.3l.3-1.3l.6-1.3l.7-1.2l1.4-1.7l1-1.2l1.7-1.7l1.5-1.5l1-1.1l1.2-1.5l1-1.7l.7-1.3l.4-1.8l.1-2.1l-.2-.7M310 296.7l1.3-.3l1-.5l.5-.5l.4-.7l.2-1v-.6M187 283.3l.9.1h1.2l1.3-.5m4-29.3l-.2 1.2l-.2.4l-.4.5l-.5.4l-.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.1-5.5m10.7-25.5c.2.2.3.6.3.8c.3 3-2.2 3.8-4 3.4a4.5 4.5 0 0 1-2.5-1.9a3.8 3.8 0 0 1-.5-1.8m17.7-19c.4.5.8 1 1 1.5m-1-6.8c.5.3.8.6 1 1\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M206.3 232.4a6.8 6.8 0 0 1-1.3 2a9.9 9.9 0 0 1-7 3.1a8.2 8.2 0 0 1-4.8-1.4a7.6 7.6 0 0 1-3.3-4.4\"/&gt;&lt;path d=\"M204.3 220.2a6.2 6.2 0 0 1 2 2.7\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M206.3 226.6a9.4 9.4 0 0 1-7 6.3a7 7 0 0 1-5.2-.9\"/&gt;&lt;path d=\"M192 226c.2 2.1 1.7 3.7 4.3 3.8c3.8 0 6-5.4 2.7-9.3\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M183.6 244.4c.5.7 1.2 1.3 1.8 1.9a13.4 13.4 0 0 0 4.8 2.6m4.2.4c3.4-.4 5.3-2.9 4.9-5.8c-.3-2.3-2.4-4-3.8-4\"/&gt;&lt;path d=\"M199.9 214.5c1.4 0 2.3 1.3 2.2 2.4\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M199.5 194.5a9.2 9.2 0 0 0 4 4.6M319 224a3.7 3.7 0 0 1-3.3 5.7a4.2 4.2 0 0 1-3.5-2\"/&gt;&lt;path d=\"M305.4 199.3v12.6\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M195 225.9c1.2.8 2.6-.6 2-2.1c-.3-1-1.8-2.1-3.8-.8c-2.1 1.5-1.5 6.3 2.7 6.3c3.7.1 6-5.4 2.7-9.2c-3.2-3.7-9-2.9-13 .2a17.1 17.1 0 0 0-5.6 9.3a17 17 0 0 0 0 7.4a16.7 16.7 0 0 0 2.4 6l1 1.3l1.6 1.6a12 12 0 0 0 8.3 3c3.8-.1 6-2.8 5.5-5.9c-.4-3-3.4-4.5-5.4-3c-1.3.9-1.8 3.8.6 4.5c1.3.4 2.5-1.3 1.6-2.3m103.6-57.5c2.2-1.2 3.8-1 5 .7a7.9 7.9 0 0 1 1.3 5.8c-.4 2.2-1 3-2.8 4.6\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M304.4 185.6c2.5-1.6 5.2-1 6.6 1.3a7.3 7.3 0 0 1 1.3 4.9a9 9 0 0 1-4.6 7.3\"/&gt;&lt;path d=\"M316 191.3c2 .2 3.7 2 3.7 4.2c0 3-.8 4.4-3.3 7.4c-2.1 2.6-8.4 7.2-8.3 11.7c0 1.6 1.5 3.2 2.7 3.3\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M316.3 225.9c-1.2.8-2.6-.5-2-2c.4-1 1.8-2.2 3.7-.9c2.2 1.5 1.6 6.3-2.6 6.3c-3.7.1-6.3-5.2-2.7-9.2c3.3-3.7 9.4-3 13.2 0c1.6 1.4 5 5 5.6 9.6c.9 5.6.7 12.6-5 16.8a13.8 13.8 0 0 1-8.5 2.4c-3.8-.1-6-2.8-5.5-5.9c.4-3 3.3-4.3 5.4-3c2.2 1.1 1.8 4.3-.6 4.5c-1.4.2-2.5-1.3-1.6-2.3\"/&gt;&lt;path d=\"M314.3 224c.6-2.9 3-3.1 5-3.1c5.2 0 8.9 6.3 9 12.4c0 7.6-3.3 12.1-9 12.3c-1.3.1-3.8-.6-3.9-2.3\"/&gt;&lt;path stroke-linecap=\"square\" d=\"M317.5 222.7c5.6 1.2 7.6 6.2 7.6 11c0 3.9-.4 9.2-8 11\"/&gt;&lt;path d=\"M326.7 276.3a3.1 3.1 0 1 0-5 1.8\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M315.6 271.5a13.3 13.3 0 0 0 5 4.8m-1 8.4c-2.7-1.7-7.7-4-12.2-1.8a6.3 6.3 0 0 0-3.4 3.5a8 8 0 0 0 1.5 7.7a6 6 0 0 0 4 2.1c3 0 3.7-2 3.8-2.5c.3-2.2-1-3.1-1.6-3.3c-.6-.2-2.2-.2-2.6 1c-.1.4-.1 1.1.2 1.6\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M272.4 326.7c.8 1.8-.1 2.6-1.3 2.7c-1.7.2-2.6-1.1-2.7-2.3c-.2-2 1.5-3.9 3.5-3.8a4.4 4.4 0 0 1 4 2.8c.2.6.3 1.2.3 1.9a4.7 4.7 0 0 1-1.1 3.3a6 6 0 0 1-4.3 2c-3.4.1-6-3-6-6.3c0-6.1 9.1-9.5 12.8-10.4a67 67 0 0 1 14.3-1.8c2.9-.2 5-.1 8.1-.4c2.8-.3 4.3-.5 7.2-1.1a22 22 0 0 0 10-5.2a13.7 13.7 0 0 0 3.7-17.7a11.5 11.5 0 0 0-8.2-5.3c-3-.5-5.6.8-7.2 3.8a6.2 6.2 0 0 0 .1 5c.5.9 2 2.3 3.8 2.3c3 0 3.8-2 3.9-2.5c.3-2.2-1-3.1-1.6-3.3c-.6-.2-2.2-.2-2.6 1c-.1.4-.1 1.1.2 1.6\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M269.8 317c-4 1.7-6.8 3-9.2 6.7a7.9 7.9 0 0 0-1 4c0 2.1 1 4.5 2.7 6a6.6 6.6 0 0 0 5.4 1.7c1.5-.2 3-1.3 3.2-2\"/&gt;&lt;path d=\"M308 243.3c-1.7.6-3 3.4-3 6c0 3 1.4 5 3.2 6\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M310 253.1c-3.2 4.1-5 6.5-5 11.3c-.1 4.6 1.3 7.7 4 11\"/&gt;&lt;path d=\"m292.7 185.6l.3-.4c1.3-2 3.7-2.5 5.5-1.2c2 1.6 2.6 4.3 2 7.2a7 7 0 0 1-3.2 4.4\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M212 184.7c-2-1-3.7-.8-5 .7a7.5 7.5 0 0 0-1.2 5.8c.4 2.1 1 3 2.8 4.6\"/&gt;&lt;path d=\"M206.9 185.6c-2.5-1.6-5.2-1-6.6 1.3a7.3 7.3 0 0 0-1.3 4.9a9 9 0 0 0 4.6 7.3\"/&gt;&lt;path d=\"M199.7 187.8a5.5 5.5 0 0 0-4.8 5.3c0 3.6.9 5 2.9 7.7s8.5 7.7 8.5 13.4c0 3.4-1 5.6-3.4 6.7c-1.6.7-3.5 0-4.3-.8c-2-1.9-1.2-5.2.9-5.6c2.6-.4 3.1 3.7.6 3.4\"/&gt;&lt;path d=\"M195.2 191.3c-2 .2-4 2-4 4c0 3.1 1.2 4.5 3.7 7.6c2 2.6 8 7.2 7.9 11.6c0 1.6-1.2 3.7-2.3 3.4\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M190.5 252.9c1-2.3 3.4-1.3 3.5 0c.4 3-2.2 3.8-4 3.3c-1-.2-1.6-.8-2-1.5a3.9 3.9 0 0 1 .4-4.3a4 4 0 0 1 1-1c.7-.4 1.5-.5 2.7-.5c4.4 0 8.3 5.3 9.6 10.8a23.6 23.6 0 0 1 .2 9.6a18 18 0 0 1-4.7 9a20.1 20.1 0 0 1-7.9 4.7a5.6 5.6 0 0 1-3.2 0c-2.2-.6-3.7-2.8-2.5-5.5c1-2.1 4.3-3.2 5.8-.6c.1.3.3.7.3 1.3c0 .7-.3 1.5-.8 1.8c-1.1.8-3 .6-2.9-1.5\"/&gt;&lt;path d=\"M187 280.3c.8.3 1.3.3 2.3-.2l1.5-.8c2-1.1 4.5-3 6.7-7.2a15.1 15.1 0 0 0 1.4-3.6c.2-.9.4-1.8.4-2.7a20.5 20.5 0 0 0-.5-5a16.2 16.2 0 0 0-3.2-7.2c-1-1.3-1.7-2-3.5-2m-7.5 24.7a3.1 3.1 0 1 1 5 1.8\"/&gt;&lt;path d=\"M185.8 273.2a3 3 0 0 1 2.9-2.5a3 3 0 0 1 3 3a3 3 0 0 1-1 2\"/&gt;&lt;path d=\"M191.5 273a12.4 12.4 0 0 0 5-9.9c0-3.3-1.3-6.7-2.9-8\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M195.7 271.5a13.2 13.2 0 0 1-5 4.8\"/&gt;&lt;path d=\"M203.7 283c-.8-1.8-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3c.5-.2 2.2-.2 2.6 1c.1.4.1 1.1-.2 1.6\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M218.6 185.6a97 97 0 0 0-.3-.4c-1.3-2-3.7-2.5-5.5-1.2c-2 1.6-2.6 4.3-2 7.2a7 7 0 0 0 3.2 4.4\"/&gt;&lt;path d=\"M293.4 191.7c-3.2 3.5-6.5 4.6-11.3 4.8c-1.5 0-4.4-.5-6-1.7c-1-.8-2.3-2-1.5-4.4c.5-1.5 3-5.7 3-8.7c.2-4.5-1.5-7-4.2-7.9c-5-1.8-10.4 3.2-13.6 4.3a11 11 0 0 1-4.1.6c-1.6 0-2.5 0-4.2-.6c-3.2-1.1-8.6-6-13.6-4.3c-2.7 1-4.4 3.4-4.2 8c0 2.9 2.5 7.1 3 8.6c.8 2.3-.4 3.6-1.5 4.4a11.6 11.6 0 0 1-6 1.7c-4.9-.2-8-1.3-11.3-4.8\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M237.9 315.5c.6.3.1-.1 4.2 1.7c3.8 1.7 6.6 3.2 9 7a8.5 8.5 0 0 1 .7 5.9\"/&gt;&lt;path d=\"M238.1 332.8a6.4 6.4 0 0 0 2.6.7c3.4.1 6-3 6-6.3c0-2.2-1.2-4-2.9-5.6\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M238.9 326.7c-.9 1.9.3 2.8 1.5 3c1.7.2 2.6-1.2 2.8-2.4a3.6 3.6 0 0 0-1.7-3.3\"/&gt;&lt;path d=\"M312 187.8c2.6 0 4.9 2.9 4.9 5.8c0 3.4-1.8 5.5-3.1 7c-1 1.3-2.2 2.4-3.6 3.8\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M309 185.1a5 5 0 0 1 2.3 2a7.3 7.3 0 0 1 1.2 4.9c-.1 3.4-2.5 5.7-4.7 7.1m-3.8-14l.5.6a7 7 0 0 1 1.2 5.7a6.5 6.5 0 0 1-3 4.4m-4-11.6c2 1.6 2.7 4.4 2 7.2c-.5 2-1.8 3.3-3.3 4.2m8.9 32.9c.2.7.6 1 1.2 1.5a10.8 10.8 0 0 0 4.9 2.9a6.2 6.2 0 0 0 5-.7M187 275.4c1 0 2 .6 2.7 1.8a2.6 2.6 0 0 1 .3 1.2c0 .7-.3 1.4-.8 1.8c-1.2.7-3.2.4-3.1-1.7\"/&gt;&lt;path d=\"M193.2 249c4 .8 7.7 5.5 9 10.7a23.6 23.6 0 0 1 .2 9.6a18 18 0 0 1-4.7 9c-.5.6-1 1-1.7 1.5l-.9.6m-6.3-9.7c1.6 0 3 1.5 3 3.2a3 3 0 0 1-.8 2\"/&gt;&lt;path d=\"M187.7 272.6c1.7 0 3.3 1.6 3.3 3.3a3.1 3.1 0 0 1-1.2 2.5\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M203.2 255.6c1.5 2 2.6 3.9 3 6.2m0 6.8a13.8 13.8 0 0 1-1.2 3.2a14.2 14.2 0 0 1-2.8 3.7\"/&gt;&lt;path d=\"M203.4 243.5a7.5 7.5 0 0 1 2.8 3.8\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M206.3 239.6a8.7 8.7 0 0 1-2.7 3.7m-7.3-13.8l1.7-.4l1-.8l.7-1l.5-1.4l.3-1.2\"/&gt;&lt;path d=\"m192.8 223.4l-2 .7a7 7 0 0 0-2.8 2.4a13.5 13.5 0 0 0-1.8 4.8c-.2.7-.4 3 0 5.3a12.6 12.6 0 0 0 2 4.6l.8 1c1 1 2 1.7 3.5 1.4\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M202.4 215.8c-.2 1-.8 2.3-2.4 2.2\"/&gt;&lt;path d=\"M196.5 222.8c-1.5-1.5-4.8-1.9-8 .2c-.5.2-.9.6-1.3 1a7 7 0 0 0-1.1 1.2l-1.2 2a10 10 0 0 0-.7 2c-.6 2.3-.6 4.5-.6 5l.3 2.2a15 15 0 0 0 1.8 5a8.2 8.2 0 0 0 6.2 4.3c1.4.1 3.9-.6 4-2.4\"/&gt;&lt;path stroke-linecap=\"round\" d=\"M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8 0 1.4.8 1.4 1.8s-.6 1.8-1.4 1.8c-.8 0-1.4-.8-1.4-1.8z\"/&gt;&lt;path d=\"M193 242.9c0-.8.7-1.5 1.4-1.5c.8 0 1.4.7 1.4 1.5s-.6 1.4-1.4 1.4c-.7 0-1.3-.6-1.3-1.4zm24.6-52.5c-.1-.9.4-1.6 1-1.6c.7-.1 1.4.5 1.5 1.3c0 .8-.4 1.5-1.1 1.6c-.7 0-1.4-.5-1.4-1.3\" stroke=\"none\"/&gt;&lt;/g&gt;&lt;g stroke=\"#c7b37f\" stroke-linecap=\"round\" stroke-width=\".5\"&gt;&lt;path d=\"M191.4 251.2a1.8 1.8 0 0 0-.6.4l-.5.7l-.2 1m3.8 21.3l.7-.8l.6-.8l.4-.7l.5-1m-1 11l-1.2.6l-.9.5a14 14 0 0 0-1 .7l-1 .8m12-30.3l-.6-.7l-.7-.7l-.8-.5\"/&gt;&lt;path stroke-linecap=\"butt\" d=\"m203.3 244l-1 .4a4 4 0 0 1-1.1.2\"/&gt;&lt;path d=\"M190 230.8c0 .4.1.7.3 1.1l.7 1.4a6.8 6.8 0 0 0 2.2 2.1l1.2.7m-.9-4.7l1 .5a6 6 0 0 0 2.4.5l1.5-.1m5.7-32.5l-1.6-1a9.6 9.6 0 0 1-2.4-2.3l-.7-1m6-3.6l.5 1.3l1.2 1.7c.7.8 1.3 1 2.2 1.6m1.1-4.7l.5 1.2l.7 1l1 1c.6.5 1 .6 1.6 1\"/&gt;&lt;/g&gt;&lt;path fill=\"#703d29\" stroke-width=\".1\" d=\"M266.6 185.3c0-1.4-1.3-1.5-1.9-1.5c-1.4 0-1.8 1-3.7 2a9.5 9.5 0 0 1-5.3 1.4a9 9 0 0 1-5.4-1.5c-1.9-1-2.2-1.9-3.6-1.9c-.8 0-1.9.7-1.8 2v.7s.2 0 .2.2c0-.7.1-1 .4-1.4a1.8 1.8 0 0 1 1.3-.7c1.5 0 2 1 3.9 2a9.5 9.5 0 0 0 5.3 1.5c2 0 3.1-.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0 .8-.3 1.2-.4l.7-.3c.2 0 .2-.1.2-.2c-.1-.3-.8.3-1.2-.6l-.6-1.5c0-.4-.2-.4.3-.6c.4-.1.5-.1.9.2l1.2 1.2c.5.4 1 .8 1.6.6c.3-.1.7-.5.6-.8c0 0 0-.1-.1 0h-.6l-2.2-2l.3-.5c.1-.3.2-.7 0-1.3c-.2-.4-.8-1.6-2.6-.9l-1.6.7l-1 .3v.2c.1.3.8-.4 1.2.6z\"/&gt;&lt;/g&gt;&lt;g fill=\"#fedf00\" transform=\"translate(0 76.8)scale(.512)\"&gt;&lt;path fill=\"#d52b1e\" d=\"M412.7 249.3h82.1v82h-82.1z\"/&gt;&lt;path id=\"flagAd1x10\" fill=\"#fff\" d=\"M451.2 313.8s0 3-.8 5.3c-1 2.7-1 2.7-1.9 4a13.2 13.2 0 0 1-3.8 4c-2 1.2-4 1.8-6 1.6c-5.4-.4-8-6.4-9.2-11.2c-1.3-5.1-5-8-7.5-6c-1.4 1-1.4 2.8-.3 4.6a9 9 0 0 0 4.1 2.8l-2.9 3.7s-6.3-.8-7.5-7.4c-.5-2.5.7-7.1 4.9-8.5c5.3-1.8 8.6 2 10.3 5.2c2.2 4.4 3.2 12.4 9.4 11.2c3.4-.7 5-5.6 5-7.9l2.4-2.6l3.7 1.2z\"/&gt;&lt;use width=\"100%\" height=\"100%\" href=\"#flagAd1x10\" transform=\"matrix(-1 0 0 1 907.5 0)\"/&gt;&lt;path d=\"m461.1 279l10.8-11.7s1.6-1.3 1.6-3.4l-2.2.4l-.5-1.2l-.1-1.1l3-.7V260l.3-1.3l-3.2.2l.3-1.4l.5-1l1.9-.4h1.9c1.8-3.4 9.2-6.4 14.4-1c3.8 4 3 11.2-2 13.2a6.3 6.3 0 0 1-6.8-1.1l2-4c2.7 1.7 5-.3 4.8-2.4c-.2-2.7-2-4.3-4.3-4.5c-2.3-.2-4 1-5 3c-.6 1.3-.3 2.2-.5 3.6c-.2 1.5 0 2.3-.5 3.8a8.8 8.8 0 0 1-2.4 3.6l-11 12l-43 46.4l-3.2-3z\"/&gt;&lt;path fill=\"#fff\" d=\"M429.5 283s2.7 13.4 11.9 33.5c4.7-1.7 7.4-2.8 12.4-2.8c4.9 0 7.6 1 12.3 2.8A171 171 0 0 0 478 283l-24.2-31z\"/&gt;&lt;path d=\"m456.1 262.4l16.8 21.7s-2.2 10.5-9 26.3c-2.7-.6-5-1.1-7.8-1.3zm-4.7 0l-16.8 21.7s2.2 10.5 9 26.3c2.7-.6 5-1.1 7.8-1.3z\"/&gt;&lt;/g&gt;&lt;g fill=\"#d52b1e\"&gt;&lt;path fill=\"#fedf00\" d=\"M257.8 204.4H300v42h-42z\"/&gt;&lt;path d=\"M263.7 204.4h6.3v42h-6.3zm12 0h6.3v42h-6.2zm12 0h6.3v42h-6.2z\"/&gt;&lt;/g&gt;&lt;g fill=\"#d52b1e\" stroke=\"#d52b1e\" stroke-width=\".5\"&gt;&lt;path fill=\"#fedf00\" d=\"M211.4 282.8c.2.8.4 2 1.1 3.4c.8 1.2.5 1.2 2.2 3a13.8 13.8 0 0 0 6.7 3.6c3.4 1 5.7 1 8.5.9c2.2-.1 3.9-.4 5.3-.6c2-.2 3.4-.4 5.7-.5a32.4 32.4 0 0 1 3.1 0c1.2 0 2.4.3 3.7.5c2.8.6 5.6 1.7 5.6 1.7v-43.9h-42v30z\" stroke=\"none\"/&gt;&lt;path stroke-width=\".3\" d=\"m216.3 290.5l2 1.2l2.7 1v-41.8h-4.7zm23.4 2v-41.6H235v42.2l4.7-.5zm9.3-41.6h-4.6v41.7a31 31 0 0 1 4.6.8zm-18.6 0v42.7h-4.7v-42.7z\"/&gt;&lt;/g&gt;&lt;g transform=\"translate(0 76.8)scale(.512)\"&gt;&lt;path fill=\"#fedf00\" d=\"M585.5 402.4a20.8 20.8 0 0 1-2.2 6.6c-1.5 2.3-1 2.3-4.3 6a26.3 26.3 0 0 1-13 7a51.8 51.8 0 0 1-16.6 1.6c-4.3-.2-7.5-.7-10.3-1c-3.8-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.5 7.5 0 0 1-1.6-.2l1-1l-1.3-.2a4 4 0 0 1-1-.7a20.5 20.5 0 0 0 1.7-.3c1.5-.4 2-1.2 3.9-1.4c1.1 0 3 0 7.6.8c3 .5 4.4.2 5.5-.3c.8-.3 1-1 1.1-1.8c.1-.8-.4-1.4-.8-1.8c-.1 0-.5-.3-1.1-.4\"/&gt;&lt;path fill=\"#fcd900\" stroke-linecap=\"butt\" stroke-width=\".5\" d=\"M524.8 350.6c-.5 0-.9 0-1.3.3c-.5.3-.6.7-1 1.1c.5.1.8.4 1.2.3c.4 0 .5-.2.8-.5c.3-.4.4-.7.4-1.2z\"/&gt;&lt;path d=\"M536 363.8a13.6 13.6 0 0 0 1 2.3c.2.8 0 1.2.2 2v1.6m6.8-7l-.3 1.3l-1 3.5v.7m-11-4c.9.2.6 3.3 1.9 4\"/&gt;&lt;path stroke-linecap=\"butt\" d=\"m560.1 369.8l.4-.3a8.2 8.2 0 0 0 2.7-1.8\"/&gt;&lt;path d=\"M552.4 368c3.5-.9 5.9-2.6 7.6-2.9m-4-1.5h.8c1.5-.3 1.7.6 2.7 1.2c1.9 1 2.1 2.3 4.3 3.4l.4.1l.8.4\"/&gt;&lt;path fill=\"#fcd900\" stroke-linecap=\"butt\" stroke-width=\".5\" d=\"M517.7 354.5h.7l.8-.2c.3 0 .5 0 .7.2c.2 0 .2.1.3.3c0 .2.2.3.1.5c0 .2-.3.4-.6.4c-.2 0-.4 0-.5-.3a.5.5 0 0 1 0-.4a1 1 0 0 1-.9 0a1 1 0 0 1-.6-.5z\"/&gt;&lt;/g&gt;&lt;path fill=\"#0065bd\" d=\"m525.1 364.2l-2-.9c.4-.2.7-.2 1-.5c.3-.4.3-.8.5-1.3s.2-1 .7-1.4c.3-.2.8-.2 1.1-.1c.4 0 .8.4.9.7c0 .6-.2 1-.3 1.5c0 .6-.3.9-.2 1.4c0 .4.2.6.4 1l-2-.4zm-1 1a.6.6 0 1 1 .7.5a.6.6 0 0 1-.7-.6zm-1.7-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.2-.1 3.9-.4 5.3-.6c2-.2 3.4-.4 5.7-.5a32.4 32.4 0 0 1 3.1 0c1.2 0 2.4.3 3.7.5c2.8.6 5.6 1.7 5.6 1.7v-43.9h-42v30zm88.4 0c-.1.8-.4 2-1.1 3.4c-.8 1.2-.5 1.2-2.2 3a13.8 13.8 0 0 1-6.7 3.6a26.1 26.1 0 0 1-8.5.9c-2.2-.1-3.9-.4-5.3-.6a55.6 55.6 0 0 0-5.6-.5a32.4 32.4 0 0 0-3.2 0c-1.2 0-2.4.3-3.7.5c-2.8.6-5.7 1.7-5.7 1.7v-43.9H300v30z\"/&gt;"}'

Can post bigger file if needed, whole page it parses is over 600kb, chunk that regex matches is about 6kb long.

Additional context

Regex for catching links is currently:

const LINK_REGEX = /(?<=\s)href=(?!&quot;)["']?([^"'>]+)/g;

In code sample above, it matches href=\"#flagAd1x10\" transform=\"ma and match goes on for about 6kb, which is a bug.

I think solution is to remove (?!&quot;), which covers only one very specific case and change ["']? to ["'], so single or double quote is required.

Logs

ERROR  URI malformed                                                                   16:39:17

  at decodeURIComponent (<anonymous>)
  at eval (node_modules/nitropack/dist/shared/nitro.0a84349b.mjs:281:85)
  at Array.filter (<anonymous>)
  at extractLinks (node_modules/nitropack/dist/shared/nitro.0a84349b.mjs:281:70)
  at generateRoute (node_modules/nitropack/dist/shared/nitro.0a84349b.mjs:194:30)
  at async Promise.all (index 0)
  at async runParallel (node_modules/nitropack/dist/shared/nitro.0a84349b.mjs:260:3)
  at async Module.prerender (node_modules/nitropack/dist/shared/nitro.0a84349b.mjs:214:3)
  at async eval (node_modules/nuxt/dist/index.mjs:3156:7)
  at async build (node_modules/nuxt/dist/index.mjs:46

cyberalien avatar Jan 21 '24 14:01 cyberalien