#6427·mealie

[BUG] Recipe parsing produces too large headers

Author: CptCaptainCreated Oct 24, 2025Updated Sep 8, 2026
Labelsbugtriage

First Check

  • This is not a feature request.
  • I added a very descriptive title to this issue (title field is above this).
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the Mealie documentation, with the integrated search.
  • I already read the docs and didn't find an answer.
  • This issue can be replicated on the demo site (https://demo.mealie.io/).

What is the issue you are experiencing?

I've added a recipe using the Import from URL feature from an instagram reel. These reels can't be parsed correctly, and the entire text content gets added to the recipe title, resulting in extremely long titles and URLs. One of these recipes (https://www.instagram.com/reel/DNxobeuWCrW/?igsh=MWVqNjQydTFweWJyNQ==) results in an entry that can't be opened; the recipe shows correctly in the search, but when clicking it only an empty page loads. The request gets denied with a 431 Request Header Fields Too Large, presumably because the referrer URL is too long. This makes the recipe unusable.

Steps to Reproduce

  1. Import this recipe from URL
  2. Try to open it in mealie

Please provide relevant logs

There are no relevant logs for this server side, but I've attached the request headers.

Details

GET /api/recipes/jess-dan-saunders-vegan-punks-on-instagram-double-tofu-stuffed-flatbreads-follow-vegan-punks-for-more-of-the-good-stuff-and-grab-the-recipe-below-part-2-of-dough-fu-is-here-and-its-a-good-one-ingredients-makes-6-for-the-dough-350g-plain-flour-300g-silken-tofu-pinch-of-salt-for-the-filling-400g-super-firm-tofu-4-cloves-garlic-1-ginger-3-spring-onions-1-5-tbsp-brown-sugar-2-tbsp-dobunjiang-3-tbsp-light-soy-1-5-tbsp-rice-vinegar-sesame-oil-vegan-cheese-garnish-spring-onions-sesame-seeds-chilli-oil-instructions-1-mix-the-dough-ingredients-together-as-much-as-possible-then-get-your-hands-in-there-and-work-it-until-you-have-a-smooth-not-sticky-dough-you-may-need-to-add-a-little-more-flour-knead-it-for-5-minutes-cover-with-a-damp-tea-towel-and-leave-to-rest-for-30-minutes-2-add-a-splash-of-sesame-oil-to-a-large-frying-pan-or-wok-and-get-it-over-a-medium-high-heat-throw-in-the-garlic-ginger-and-whites-of-the-spring-onions-and-fry-for-a-minute-crumble-in-the-tofu-and-fry-for-a-few-more-minutes-to-cook-off-excess-water-from-the-tofu-3-pop-the-brown-sugar-dobunjiang-soy-sauce-and-rice-vinegar-into-a-little-jug-or-bowl-and-whisk-pour-it-over-the-tofu-in-the-pan-and-stir-well-to-coat-evenly-take-it-off-the-heat-and-allow-to-cool-4-cut-the-dough-into-6-and-roll-them-into-balls-one-by-one-on-a-floured-surface-roll-them-out-until-a-few-mm-thick-pile-a-6th-of-the-tofu-filling-into-the-middle-of-each-one-followed-by-a-good-handful-of-grated-vegan-cheese-5-seal-them-up-by-folding-the-dough-over-in-the-middle-then-pinching-in-the-remaining-edges-see-the-video-flip-them-over-and-very-gently-roll-or-squish-them-out-a-little-6-put-a-non-stack-pan-over-a-medium-heat-and-then-fry-them-for-around-3-minutes-on-each-side-with-the-lid-on-until-golden-brown-7-brush-with-chilli-oil-then-top-with-the-greens-of-the-spring-onions-and-sesame-seeds HTTP/2
Host: mealie.plexico.space
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0
Accept: application/json, text/plain, */*
Accept-Language: en-US
Accept-Encoding: gzip, deflate, br, zstd
Authorization: Bearer eyJhbGciOiJIU...TC5Mc2IA
DNT: 1
Sec-GPC: 1
Connection: keep-alive
Referer: https://mealie.plexico.space/g/home/r/jess-dan-saunders-vegan-punks-on-instagram-double-tofu-stuffed-flatbreads-follow-vegan-punks-for-more-of-the-good-stuff-and-grab-the-recipe-below-part-2-of-dough-fu-is-here-and-its-a-good-one-ingredients-makes-6-for-the-dough-350g-plain-flour-300g-silken-tofu-pinch-of-salt-for-the-filling-400g-super-firm-tofu-4-cloves-garlic-1-ginger-3-spring-onions-1-5-tbsp-brown-sugar-2-tbsp-dobunjiang-3-tbsp-light-soy-1-5-tbsp-rice-vinegar-sesame-oil-vegan-cheese-garnish-spring-onions-sesame-seeds-chilli-oil-instructions-1-mix-the-dough-ingredients-together-as-much-as-possible-then-get-your-hands-in-there-and-work-it-until-you-have-a-smooth-not-sticky-dough-you-may-need-to-add-a-little-more-flour-knead-it-for-5-minutes-cover-with-a-damp-tea-towel-and-leave-to-rest-for-30-minutes-2-add-a-splash-of-sesame-oil-to-a-large-frying-pan-or-wok-and-get-it-over-a-medium-high-heat-throw-in-the-garlic-ginger-and-whites-of-the-spring-onions-and-fry-for-a-minute-crumble-in-the-tofu-and-fry-for-a-few-more-minutes-to-cook-off-excess-water-from-the-tofu-3-pop-the-brown-sugar-dobunjiang-soy-sauce-and-rice-vinegar-into-a-little-jug-or-bowl-and-whisk-pour-it-over-the-tofu-in-the-pan-and-stir-well-to-coat-evenly-take-it-off-the-heat-and-allow-to-cool-4-cut-the-dough-into-6-and-roll-them-into-balls-one-by-one-on-a-floured-surface-roll-them-out-until-a-few-mm-thick-pile-a-6th-of-the-tofu-filling-into-the-middle-of-each-one-followed-by-a-good-handful-of-grated-vegan-cheese-5-seal-them-up-by-folding-the-dough-over-in-the-middle-then-pinching-in-the-remaining-edges-see-the-video-flip-them-over-and-very-gently-roll-or-squish-them-out-a-little-6-put-a-non-stack-pan-over-a-medium-heat-and-then-fry-them-for-around-3-minutes-on-each-side-with-the-lid-on-until-golden-brown-7-brush-with-chilli-oil-then-top-with-the-greens-of-the-spring-onions-and-sesame-seeds
Cookie: authelia_session=1fnoe$$MBtE-DJPuKMLc3f0DHzdAZrQb; i18n_redirected=en-US; mealie.access_token=eyJhbGciOiJI...RTC5Mc2IA
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Pragma: no-cache
Cache-Control: no-cache
TE: trailers

Mealie Version

Version v3.3.2 Build b7b191a5ee9c32b5a769ae5c9cb5c5e72ccb02a8

Deployment

Docker (Linux)

Additional Deployment Details

No response