hsa: cannot delete/unlisten default uri 89/41689/1
authorSteven Luong <sluong@cisco.com>
Mon, 7 Oct 2024 19:02:45 +0000 (12:02 -0700)
committerSteven Luong <sluong@cisco.com>
Mon, 7 Oct 2024 19:09:57 +0000 (12:09 -0700)
commit8d09a70ee87e777dabf2251e517f5cd63ebc269b
treee8b2ea386a1fe3412e89b9c84dd404ae40266cd8
parenta3efc38e155eb3eccc674fbd06dfcff155220b42
hsa: cannot delete/unlisten default uri

Although it is rare that one wants to remove the default uri listener,
we should still support it.

The problem is that we strip the null character on unformatting the input.
We should not add a null character on formatting the default uri.

Type: fix

Change-Id: I08520dbd2a2448639ce023f9fd75555bc620e7ee
Signed-off-by: Steven Luong <sluong@cisco.com>
src/plugins/hs_apps/http_cli.c