energywebfoundation / ocn-node

Apache License 2.0
5 stars 4 forks source link

Node accepts uppercase module identifiers when requesting/saving version details #16

Open ewf-devops opened 4 years ago

ewf-devops commented 4 years ago

Original report by Adam Staveley (Bitbucket: [Adam Staveley](https://bitbucket.org/Adam Staveley), GitHub: adamstaveley).


When the node receives a POST credentials request, it will save endpoint module identifiers even if they are in uppercase.

As per the 2.2 spec, they should be lowercase. This causes issues down the line when forwarding messages as the node checks against registered endpoints using lowercase identifiers.