Name: [FIX] website_sale: a garbage ?category= on a product page must not answer 500

State: Succeed finished in 243m

PR State: open

PR Author: Roy Le

PR Author Email:

PR: #1287

Committer: Roy Le

Committer Email: roy.le@viindoo.com

Commit: 77a92955c807edab0dcf0e60c6de7405e86c32a1

Description:

                                            [FIX] website_sale: a garbage ?category= on a product page must not answer 500

SQL-injection scanners request product pages with payloads in ?category=
(e.g. "1' AND 1=1 UNION SELECT NULL-- -"): int(category) raised
ValueError in _prepare_product_values and the page answered 500 - 1,031
times in one week on a production 16.0 shop. The earlier guard only
covered the shop listing. The category only drives the breadcrumb and the
back link here, so an invalid one is ignored, as upstream 19.0 does.
                                            

Branch: 18.0

Age:

Up-time:

Subbuilds Name State Detail
Build 416944 At install tests: from account to website_sms 126m Succeed Log
Build 416945 Post install tests: step install all modules 56m Succeed Log
Build 416946 Post install tests: from account to hr_recruitment_survey 130m Succeed Log
Build 416947 Post install tests: from hr_skills to phone_validation 114m Succeed Log
Build 416948 Post install tests: from point_of_sale to purchase_requisition_stock 104m Succeed Log
Build 416949 Post install tests: from purchase_stock to test_limits 89m Succeed Log
Build 416950 Post install tests: from test_mail to to_purchase_line_numbering 139m Succeed Log
Build 416951 Post install tests: from to_purchase_order_advance to viin_approval_purpose_routing 99m Succeed Log
Build 416952 Post install tests: from viin_approval_sale to viin_product_approval_marketplace 119m Succeed Log
Build 416953 Post install tests: from viin_product_approval_marketplace_website_sale to web_unsplash 84m Succeed Log
Build 416954 Post install tests: from website to website_sms 99m Succeed Log
Create Date Level Message
09/19/2026 11:45:40 INFO
Updated repository Viindoo-tvtmaaddons
09/19/2026 11:45:40 INFO
Updated repository Viindoo-erponline-enterprise
09/19/2026 11:45:40 INFO
Updated repository Viindoo-branding
09/19/2026 11:45:40 INFO
Cloned repository Viindoo-odoo