Commit d249ba6
Fix bug preventing GET params from being read on parametrized URLs. (#326)
This also introduces tests to verify the bug doesn't return.
The bug was due to the populate_args method checking whether the
cache was empty before executing. By doing so, it was ignoring that
in case of parametrized URLs, the webserver class was loading the
params as arguments.
Co-authored-by: Merlino <merlinos@147dda0f5bcf.ant.amazon.com>1 parent c130666 commit d249ba6
File tree
3 files changed
+23
-1
lines changed- src
- httpserver
- test/integ
3 files changed
+23
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
| 413 | + | |
| 414 | + | |
413 | 415 | | |
414 | 416 | | |
415 | 417 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
948 | 948 | | |
949 | 949 | | |
950 | 950 | | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
951 | 969 | | |
952 | 970 | | |
953 | 971 | | |
| |||
0 commit comments