open-horizon / edge-sync-service

Cloud - Edge synchronization service (MMS)
Apache License 2.0
24 stars 26 forks source link

Issue 1137 - prevent <> in put body #28

Closed LiilyZhang closed 5 years ago

LiilyZhang commented 5 years ago

This is from pen-testing report. Check "<" and ">" from PUT body before the API code is executing, to prevent user inject something like html tag. Apply to 1) set destination list, 2) create/update an object API

Screen Shot 2019-08-19 at 15 45 41 Screen Shot 2019-08-19 at 15 46 56