Commit 61488f8
Pieter van Prooijen
Change missing parameter values to empty strings
Query parameters that lack an an accompanying "=" clause should be
given a value of "" rather than nil to ensure type consistency and to
make the value truthy.
Fixes: ring-clojure/ring#3121 parent 6fea0ef commit 61488f8
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
66 | 69 | | |
67 | 70 | | |
0 commit comments