GoodCloud / django-zebra

Forms, widgets, template tags and examples that make Stripe + Django easier.
MIT License
194 stars 68 forks source link

Request that the browser disable autocomplete for credit card fields #40

Closed jnm closed 1 year ago

jnm commented 10 years ago

Hello, this uses the HTML autocomplete attribute to prevent browsers from displaying a history of previously entered credit card numbers and CVCs. Some browsers (e.g. Chrome) must have a heuristic to disable autocomplete for form fields whose names match a certain pattern, but others do not and record sensitive data.

Thanks for your consideration.