feat: Add support for percent-encoding in password and it's corresponding test

Add support of percent-encoded characters when passing the username and password in URI

Closes https://github.com/espressif/esp-mqtt/issues/294
This commit is contained in:
Bogdan Kolendovskyy
2026-04-23 16:05:24 +02:00
parent f192911f6b
commit 32df7e27fc
18 changed files with 427 additions and 27 deletions
+4 -1
View File
@@ -8,6 +8,7 @@ host_tests:
needs: []
artifacts:
paths:
- "**/build*/build.log"
- "**/coverage.xml"
- "**/coverage.html"
expire_in: 1 week
@@ -28,8 +29,10 @@ host_tests:
git worktree add --force mqtt HEAD || (echo "Worktree failed; using local clone" && git clone --local --no-hardlinks . mqtt)
git worktree list || true
cd mqtt
idf-ci build run -t linux -p test/host
idf-ci build run -t linux -p test
cd test/host
./build_linux_coverage/host_mqtt_client_test.elf -r junit -o junit.xml
cd ../mqtt_utils_host_test
./build_linux_default/mqtt_utils_host_test.elf
cd ../..
gcovr --gcov-ignore-parse-errors -g -k -r . --html coverage.html -x coverage.xml