You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<formmethod="POST" action="https://example.foxycart.com/cart"><inputname="name" value="tart"><inputname="price" value="10"><inputname="code" value="sub"><selectname="sub_frequency"><optionvalue="1m{p-10%}">Monthly</option><optionvalue="2m{p-1%}">Every other Month
</option></select><inputtype="submit" value="Add Sub to cart"></form>
A form like this won't be signed:
Issue is incorrectly escaped regex in https://github.com/Foxy/foxy-cloudflare-addtocart-signing/blob/main/src/Signer.ts#L181
Similarly, https://github.com/Foxy/foxy-cloudflare-addtocart-signing/blob/main/src/Signer.ts#L125 has an unescaped
?
that's causing problems with some add-to-cart links. (As well as a double-escaped slash for a backreference.)The text was updated successfully, but these errors were encountered: