2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 04:55:44 +00:00

Part name validation fix (#3870)

* Check that part name format is actually valid

* Expand exception handling when generating part "full_name"

* Do not enforce client-side sanitization of form data

- Form data sanitization is now handled server side
This commit is contained in:
Oliver
2022-10-28 15:56:16 +11:00
committed by GitHub
parent 1c17977f4d
commit 61c6054049
3 changed files with 19 additions and 9 deletions

View File

@ -205,9 +205,6 @@ function constructChangeForm(fields, options) {
},
success: function(data) {
// Ensure the data are fully sanitized before we operate on it
data = sanitizeData(data);
// An optional function can be provided to process the returned results,
// before they are rendered to the form
if (options.processResults) {