snipe-it/app/Http/Transformers
Brady Wetherington 9a224a07ba
Modified how we do Select2 dynamic drop-down menus to be more secure (#9079)
* Modified how we do Select2 dynamic drop-down menus to be more secure

As noted by the author of select2, the more-secure way of creating
rich Select-dropdowns is to use jquery to create HTML snippets and
carefully modify text attributes within there. This prevents any
XSS from being brought to the page. As a side-effect, the extra
escaping that we had to do in all of the internal selectlist calls
is now no longer necessary, and has been removed. Rebased and
squashed from the original.

* Rebuilt all assets, but this still feels like it's too much stuff in here.

* Whoops, need to run that in dev, not prod
2021-02-02 15:55:21 -08:00
..
AccessoriesTransformer.php
ActionlogsTransformer.php
AssetMaintenancesTransformer.php
AssetModelsTransformer.php
AssetsTransformer.php
CategoriesTransformer.php
CompaniesTransformer.php
ComponentsAssetsTransformer.php
ComponentsTransformer.php
ConsumablesTransformer.php
CustomFieldsetsTransformer.php
CustomFieldsTransformer.php
DatatablesTransformer.php
DepartmentsTransformer.php
DepreciationsTransformer.php
GroupsTransformer.php
ImportsTransformer.php
LicenseSeatsTransformer.php
LicensesTransformer.php
LocationsTransformer.php
LoginAttemptsTransformer.php
ManufacturersTransformer.php
PredefinedKitsTransformer.php
SelectlistTransformer.php
StatuslabelsTransformer.php
SuppliersTransformer.php
UsersTransformer.php