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

State: Killed

PR State: open

PR Author: Roy Le

PR Author Email:

PR: #1284

Committer: Roy Le

Committer Email: roy.le@viindoo.com

Commit: a84031e3e6f86efb8be161b1db01fb08b7953b14

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: 16.0

Age:

Up-time: Not finished

Subbuilds Name State Detail
Build 416915 At install tests: from account to website_twitter Killed Log
Build 416916 Post install tests: step install all modules Killed Log
Build 416917 Post install tests: from account to mass_mailing_event_sms Killed
Build 416918 Post install tests: from mass_mailing_event_track to test_data_module Killed
Build 416919 Post install tests: from test_data_module_install to to_paypal_unsupported_currencies Killed
Build 416920 Post install tests: from to_payroll_payment_acb_templates to viin_brand_auth_totp Killed
Build 416921 Post install tests: from viin_brand_auth_totp_mail_enforce to viin_hr_holidays Killed
Build 416922 Post install tests: from viin_hr_maintenance to viin_sale_recurring Killed
Build 416923 Post install tests: from viin_sale_sankey to website_twitter Killed
Create Date Level Message
09/19/2026 11:30:58 INFO
Updated repository Viindoo-tvtmaaddons
09/19/2026 11:30:58 INFO
Updated repository Viindoo-erponline-enterprise
09/19/2026 11:30:58 INFO
Updated repository Viindoo-branding
09/19/2026 11:30:58 INFO
Cloned repository Viindoo-odoo