|
238 | 238 | "options": {}
|
239 | 239 | },
|
240 | 240 | {
|
241 |
| - "description": "tlsDisableOcspEndpointCheck defaults to false", |
| 241 | + "description": "tlsDisableOCSPEndpointCheck defaults to false", |
242 | 242 | "uri": "mongodb://example.com/?tls=true",
|
243 |
| - "valid": false, |
| 243 | + "valid": true, |
244 | 244 | "warning": false,
|
245 | 245 | "hosts": null,
|
246 | 246 | "auth": null,
|
247 | 247 | "options": {
|
248 | 248 | "tls": true,
|
249 |
| - "tlsDisableOcspEndpointCheck": false |
| 249 | + "tlsDisableOCSPEndpointCheck": false |
250 | 250 | }
|
251 | 251 | },
|
252 | 252 | {
|
253 |
| - "description": "tlsDisableOcspEndpointCheck parses correctly", |
254 |
| - "uri": "mongodb://example.com/?tls=true&tlsDisableOcspEndpointCheck=true", |
255 |
| - "valid": false, |
| 253 | + "description": "tlsDisableOCSPEndpointCheck can be set to true", |
| 254 | + "uri": "mongodb://example.com/?tls=true&tlsDisableOCSPEndpointCheck=true", |
| 255 | + "valid": true, |
| 256 | + "warning": false, |
| 257 | + "hosts": null, |
| 258 | + "auth": null, |
| 259 | + "options": { |
| 260 | + "tls": true, |
| 261 | + "tlsDisableOCSPEndpointCheck": true |
| 262 | + } |
| 263 | + }, |
| 264 | + { |
| 265 | + "description": "tlsDisableOCSPEndpointCheck can be set to false", |
| 266 | + "uri": "mongodb://example.com/?tls=true&tlsDisableOCSPEndpointCheck=false", |
| 267 | + "valid": true, |
256 | 268 | "warning": false,
|
257 | 269 | "hosts": null,
|
258 | 270 | "auth": null,
|
259 | 271 | "options": {
|
260 | 272 | "tls": true,
|
261 |
| - "tlsDisableOcspEndpointCheck": true |
| 273 | + "tlsDisableOCSPEndpointCheck": false |
262 | 274 | }
|
263 | 275 | },
|
264 | 276 | {
|
265 |
| - "description": "tlsInsecure and tlsDisableOcspEndpointCheck both present (and true) raises an error", |
266 |
| - "uri": "mongodb://example.com/?tlsInsecure=true&tlsDisableOcspEndpointCheck=true", |
| 277 | + "description": "tlsInsecure and tlsDisableOCSPEndpointCheck both present (and true) raises an error", |
| 278 | + "uri": "mongodb://example.com/?tlsInsecure=true&tlsDisableOCSPEndpointCheck=true", |
267 | 279 | "valid": false,
|
268 | 280 | "warning": false,
|
269 | 281 | "hosts": null,
|
270 | 282 | "auth": null,
|
271 | 283 | "options": {}
|
272 | 284 | },
|
273 | 285 | {
|
274 |
| - "description": "tlsInsecure=true and tlsDisableOcspEndpointCheck=false raises an error", |
275 |
| - "uri": "mongodb://example.com/?tlsInsecure=true&tlsDisableOcspEndpointCheck=false", |
| 286 | + "description": "tlsInsecure=true and tlsDisableOCSPEndpointCheck=false raises an error", |
| 287 | + "uri": "mongodb://example.com/?tlsInsecure=true&tlsDisableOCSPEndpointCheck=false", |
276 | 288 | "valid": false,
|
277 | 289 | "warning": false,
|
278 | 290 | "hosts": null,
|
279 | 291 | "auth": null,
|
280 | 292 | "options": {}
|
281 | 293 | },
|
282 | 294 | {
|
283 |
| - "description": "tlsInsecure=false and tlsDisableOcspEndpointCheck=true raises an error", |
284 |
| - "uri": "mongodb://example.com/?tlsInsecure=false&tlsDisableOcspEndpointCheck=true", |
| 295 | + "description": "tlsInsecure=false and tlsDisableOCSPEndpointCheck=true raises an error", |
| 296 | + "uri": "mongodb://example.com/?tlsInsecure=false&tlsDisableOCSPEndpointCheck=true", |
285 | 297 | "valid": false,
|
286 | 298 | "warning": false,
|
287 | 299 | "hosts": null,
|
288 | 300 | "auth": null,
|
289 | 301 | "options": {}
|
290 | 302 | },
|
291 | 303 | {
|
292 |
| - "description": "tlsInsecure and tlsDisableOcspEndpointCheck both present (and false) raises an error", |
293 |
| - "uri": "mongodb://example.com/?tlsInsecure=false&tlsDisableOcspEndpointCheck=false", |
| 304 | + "description": "tlsInsecure and tlsDisableOCSPEndpointCheck both present (and false) raises an error", |
| 305 | + "uri": "mongodb://example.com/?tlsInsecure=false&tlsDisableOCSPEndpointCheck=false", |
294 | 306 | "valid": false,
|
295 | 307 | "warning": false,
|
296 | 308 | "hosts": null,
|
297 | 309 | "auth": null,
|
298 | 310 | "options": {}
|
299 | 311 | },
|
300 | 312 | {
|
301 |
| - "description": "tlsDisableOcspEndpointCheck and tlsInsecure both present (and true) raises an error", |
302 |
| - "uri": "mongodb://example.com/?tlsDisableOcspEndpointCheck=true&tlsInsecure=true", |
| 313 | + "description": "tlsDisableOCSPEndpointCheck and tlsInsecure both present (and true) raises an error", |
| 314 | + "uri": "mongodb://example.com/?tlsDisableOCSPEndpointCheck=true&tlsInsecure=true", |
303 | 315 | "valid": false,
|
304 | 316 | "warning": false,
|
305 | 317 | "hosts": null,
|
306 | 318 | "auth": null,
|
307 | 319 | "options": {}
|
308 | 320 | },
|
309 | 321 | {
|
310 |
| - "description": "tlsDisableOcspEndpointCheck=true and tlsInsecure=false raises an error", |
311 |
| - "uri": "mongodb://example.com/?tlsDisableOcspEndpointCheck=true&tlsInsecure=false", |
| 322 | + "description": "tlsDisableOCSPEndpointCheck=true and tlsInsecure=false raises an error", |
| 323 | + "uri": "mongodb://example.com/?tlsDisableOCSPEndpointCheck=true&tlsInsecure=false", |
312 | 324 | "valid": false,
|
313 | 325 | "warning": false,
|
314 | 326 | "hosts": null,
|
315 | 327 | "auth": null,
|
316 | 328 | "options": {}
|
317 | 329 | },
|
318 | 330 | {
|
319 |
| - "description": "tlsDisableOcspEndpointCheck=false and tlsInsecure=true raises an error", |
320 |
| - "uri": "mongodb://example.com/?tlsDisableOcspEndpointCheck=false&tlsInsecure=true", |
| 331 | + "description": "tlsDisableOCSPEndpointCheck=false and tlsInsecure=true raises an error", |
| 332 | + "uri": "mongodb://example.com/?tlsDisableOCSPEndpointCheck=false&tlsInsecure=true", |
321 | 333 | "valid": false,
|
322 | 334 | "warning": false,
|
323 | 335 | "hosts": null,
|
324 | 336 | "auth": null,
|
325 | 337 | "options": {}
|
326 | 338 | },
|
327 | 339 | {
|
328 |
| - "description": "tlsDisableOcspEndpointCheck and tlsInsecure both present (and false) raises an error", |
329 |
| - "uri": "mongodb://example.com/?tlsDisableOcspEndpointCheck=false&tlsInsecure=false", |
| 340 | + "description": "tlsDisableOCSPEndpointCheck and tlsInsecure both present (and false) raises an error", |
| 341 | + "uri": "mongodb://example.com/?tlsDisableOCSPEndpointCheck=false&tlsInsecure=false", |
330 | 342 | "valid": false,
|
331 | 343 | "warning": false,
|
332 | 344 | "hosts": null,
|
|
0 commit comments