Automattic / camptix

Moved to https://github.com/WordPress/wordcamp.org/
176 stars 94 forks source link

Coupon is always invalid when it contains "&" #157

Open claudiosanches opened 7 years ago

claudiosanches commented 7 years ago

On WordCamp São Paulo we had a invalid coupon, since when save a coupon code that contains & is automatically converted to &. Not sure if it's only an issue on WordCamp sites, but still we can apply the same filters that are applied for titles before compare coupons.

iandunn commented 7 years ago

Thanks for the report :) I agree this is something that should be fixed.

mayukojpn commented 7 years ago

Hi @claudiosanches ! I tested it with local wordcamp.dev environment but & wasn't escaped. Can I test it on your website?

claudiosanches commented 7 years ago

@mayukojpn it's on the wordcamp.org

iandunn commented 7 years ago

I was able to reproduce this. It may be related to #150.

mayukojpn commented 7 years ago

Cool!

@claudiosanches It looks fixed. Can you check if you have still this problem or not?

claudiosanches commented 7 years ago

On local installation looks work now. Thanks.

iandunn commented 7 years ago

I'm still seeing the error when I try to enter the ticket name into the front-end field.