Commit caa04da
committed
fix: reject traceparent headers with unsupported versions
This addresses a regression introduced in #178, where traceparent
headers containing unsupported characters were not properly rejected and
were incorrectly treated as valid.
[APMAPI-1599]1 parent cf98cc2 commit caa04da
2 files changed
Lines changed: 38 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
36 | 41 | | |
37 | 42 | | |
38 | 43 | | |
| |||
59 | 64 | | |
60 | 65 | | |
61 | 66 | | |
| 67 | + | |
| 68 | + | |
62 | 69 | | |
63 | 70 | | |
64 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1191 | 1191 | | |
1192 | 1192 | | |
1193 | 1193 | | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
1194 | 1219 | | |
1195 | 1220 | | |
1196 | 1221 | | |
| |||
1225 | 1250 | | |
1226 | 1251 | | |
1227 | 1252 | | |
1228 | | - | |
1229 | 1253 | | |
1230 | 1254 | | |
1231 | 1255 | | |
| |||
1831 | 1855 | | |
1832 | 1856 | | |
1833 | 1857 | | |
1834 | | - | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
1835 | 1861 | | |
1836 | 1862 | | |
1837 | 1863 | | |
| |||
1910 | 1936 | | |
1911 | 1937 | | |
1912 | 1938 | | |
1913 | | - | |
| 1939 | + | |
| 1940 | + | |
| 1941 | + | |
1914 | 1942 | | |
1915 | 1943 | | |
1916 | 1944 | | |
| |||
0 commit comments