diefenbach / django-lfs

An online-shop based on Django
http://www.getlfs.com
BSD 3-Clause "New" or "Revised" License
622 stars 222 forks source link

Paypal integration can be broken due to bad user input #32

Closed misaelnieto closed 6 months ago

misaelnieto commented 12 years ago

The function lfs.payment.utils.get_paypal_link_for_order() takes data directly from the order form that user filled in without proper URL encoding. If the user inputs characters like "#" or "&", this will potentially break the HTTP GET request to paypal.

Test case:

misaelnieto commented 11 years ago

Hi @diefenbach or @pigletto Have you had any chance to review this issue I have reported?