Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: atk4/ui
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c54b4c38462b2f1e33d6904d9096b1e423a45812
Choose a base ref
..
head repository: atk4/ui
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 991838f1faec801a3050aefb057c3d9fb8967274
Choose a head ref
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/Persistence/Ui.php
3 changes: 2 additions & 1 deletion src/Persistence/Ui.php
Original file line number Diff line number Diff line change
@@ -131,9 +131,10 @@ protected function _typecastLoadField(\Atk4\Data\Field $field, $value)
}

break;
// SECURTIY: Do not unserialize any user input
// https://github.com/search?q=unserialize+repo%3Adoctrine%2Fdbal+path%3A%2Fsrc%2FTypes
case 'object':
case 'array':
// SECURTIY: Do not unserialize any user input
throw new Exception('Object serialization is not supported');
}