The bug
Jack'o'lanterns can be enchanted with curses, which doesn't make too much sense, as they cannot be equipped as a helmet.
To reproduce
Place an anvil
Get a jack'o'lantern
Get a "Curse of Binding" or "Curse of Vanishing" enchanted book
Switch into Survival mode
Try to combine the jack'o'lantern with either of these books
→ ❌ That is possible
Linked issues
is duplicated by 1
Attachments
Comments

Able to do this in Minecraft 1.15 pre-release 3

Affects Minecraft 1.15 pre-release 4

Affects 1.15 pre-release 5
Wait it still works? I need to enchant it before fix asap

Affects 1.16 pre-release 1

Affects 1.16 pre-release 2
Confirmed in 1.16-pre5.

Affects 1.16 rc-1

Wasn't this a feature that was added and not a bug?

Confirmed in 1.16.1

Confirmed in 20w28a

Affects 20w30a
Can confirm for 20w48a
Can confirm in 20w51a.
Can confirm in 21w03a.
Can confirm in 21w05a.
Can confirm in 21w06a.
Can confirm in 21w07a.
Can confirm in 1.16.5 and 21w08b. Video attached.
That is normal.
Can confirm in 21w13a.
Can confirm in 21w14a.
Can confirm in 1.17.
Can confirm in 1.17.1.

This hasn’t been fixed so I think this might be WAI but idk because it’s still open
Can confirm in 1.18.1.
Can confirm in 1.18.2 and 22w12a.
Can confirm in 1.19.
Can confirm in 1.19.2.

This is fixed in 1.20 pre-release 5
Able to reproduce this