676dd1beed266434905f4a4fd84367ccff49ec2e
This fix tries to fix Docker core dumps when removing network with special characters. The issue is from the fact that when docker client tries to pass the command to API, the networkID is not escaped in case of special characters. This also means other commands (not just `docker network rm`) may face the same issue (e.g., `docker network connect`). This fix adds the URL path escape to properly handle it. In addition, an integration test for network create and delete is added to cover the cases in #21401. This fix fixes #21401. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> (cherry picked from commit f8dc5562d0a74792c46b9382181ddf97e5d7cdac) Signed-off-by: David Calavera <david.calavera@gmail.com> Upstream-commit: f1542276081aa91396495059638d3ea30d4e5a10 Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%