We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c89a9f commit 2e3db5fCopy full SHA for 2e3db5f
tests/basic_tests.cpp
@@ -402,10 +402,18 @@ TYPED_TEST(basic_tests, nodejs_51514) {
402
auto out = ada::parse<TypeParam>("http://1.1.1.256");
403
ASSERT_FALSE(out);
404
}
405
+
406
// https://github.com/nodejs/node/issues/51593
407
TYPED_TEST(basic_tests, nodejs_51593) {
408
auto out = ada::parse<TypeParam>("http://\u200b123.123.123.123");
409
ASSERT_TRUE(out);
410
ASSERT_EQ(out->get_href(), "http://123.123.123.123/");
411
SUCCEED();
412
413
414
+// https://github.com/nodejs/node/issues/51619
415
+TYPED_TEST(basic_tests, nodejs_51619) {
416
+ auto out = ada::parse<TypeParam>("https://0.0.0.0x100/");
417
+ ASSERT_FALSE(out);
418
+ SUCCEED();
419
+}
0 commit comments