[riot-commits] [RIOT-OS/RIOT] becfce: net/nanocoap: allow empty uri/location path option

Ken Bannister kb2ma at runbox.com
Tue Sep 11 13:14:49 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: becfce247ddf247b95cd6b01b709e1c958a15a4d
      https://github.com/RIOT-OS/RIOT/commit/becfce247ddf247b95cd6b01b709e1c958a15a4d
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2018-09-11 (Tue, 11 Sep 2018)

  Changed paths:
    M sys/net/application_layer/nanocoap/nanocoap.c

  Log Message:
  -----------
  net/nanocoap: allow empty uri/location path option

For CoAP, there is actually a difference between
`/some/path` and `/some/path/`. This needs to be reflected
when parsing the URI and location path options from a given
string.


  Commit: cad1ccfa3bead12ebdb58900c53dc45f1215d64e
      https://github.com/RIOT-OS/RIOT/commit/cad1ccfa3bead12ebdb58900c53dc45f1215d64e
  Author: Ken Bannister <kb2ma at runbox.com>
  Date:   2018-09-11 (Tue, 11 Sep 2018)

  Changed paths:
    M tests/unittests/tests-nanocoap/tests-nanocoap.c

  Log Message:
  -----------
  net/nanocoap: add unit test for trailing slash in path


  Commit: 104de7b6211e93b74a6cf7399e5019e224810685
      https://github.com/RIOT-OS/RIOT/commit/104de7b6211e93b74a6cf7399e5019e224810685
  Author: Ken Bannister <kb2ma at runbox.com>
  Date:   2018-09-11 (Tue, 11 Sep 2018)

  Changed paths:
    M sys/net/application_layer/nanocoap/nanocoap.c
    M tests/unittests/tests-nanocoap/tests-nanocoap.c

  Log Message:
  -----------
  Merge pull request #9872 from haukepetersen/fix_nanocoap_optputstring

net/nanocoap: allow empty uri/location path option


Compare: https://github.com/RIOT-OS/RIOT/compare/4108c9775ac2...104de7b6211e
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the commits mailing list