Commit 41391f1
[azure-core] Fix
* Initial plan
* Fix format_url to preserve trailing slash when url_template is query-string only
Co-authored-by: l0lawrence <100643745+l0lawrence@users.noreply.github.com>
* Refine format_url fix: only preserve trailing slash for query-string-only stubs
Co-authored-by: l0lawrence <100643745+l0lawrence@users.noreply.github.com>
* Remove conditional rstrip from format_url (lines 671-675)
Co-authored-by: l0lawrence <100643745+l0lawrence@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: l0lawrence <100643745+l0lawrence@users.noreply.github.com>
Co-authored-by: Paul Van Eck <paulvaneck@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>format_url dropping trailing slash when URL template is query-string only (#45366)1 parent b16f537 commit 41391f1
3 files changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
666 | | - | |
| 666 | + | |
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
228 | 236 | | |
229 | 237 | | |
230 | 238 | | |
| |||
0 commit comments