File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
src/Symfony/Component/Validator/Tests/Constraints Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -159,10 +159,4 @@ public function testHostnameIsProperlyParsed()
159
159
160
160
$ this ->assertNoViolation ();
161
161
}
162
-
163
- public function testEmptyHostReturnsFalse ()
164
- {
165
- $ this ->assertFalse ($ this ->validator ->checkMX ('' ));
166
- $ this ->assertFalse ($ this ->validator ->checkHost ('' ));
167
- }
168
162
}
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ public function getInvalidUrls()
171
171
array ('http://example.com/exploit.html?<script>alert(1);</script> ' ),
172
172
array ('http://example.com/exploit.html?hel lo ' ),
173
173
array ('http://example.com/exploit.html?not_a%hex ' ),
174
- array ('http:/.com ' ),
174
+ array ('http:// ' ),
175
175
);
176
176
}
177
177
You can’t perform that action at this time.
0 commit comments