Skip to content
Commit cfa9990c authored by Robert Chou's avatar Robert Chou Committed by Anas Nashif
Browse files

net: lwm2m: return 4.04 when URI is not composed by digits



Modify zoap_options_to_path() to return error when URI contains
character other than digits and return 4.04 NOT FOUND to caller.

PATH such as "/1a/2/3" was treated as "/1/2/3" after parsring
which is incorrect.

Signed-off-by: default avatarRobert Chou <robert.ch.chou@acer.com>
parent d5ab1469
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment