diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-10-21 14:11:01 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-21 14:11:01 +0900 |
| commit | 09de34c10760d31e0781cb506b5b41c649b53e69 (patch) | |
| tree | d12ccdd84741ef6a768f04529f1144915d571b04 /src/test/rustdoc-ui/coverage/enum-tuple.rs | |
| parent | 4626184cafa827e13cc7a71b183a704ee0ec5930 (diff) | |
| parent | 403d269f20c9b1d71efccf1e95ef76470dd7ebe5 (diff) | |
| download | rust-09de34c10760d31e0781cb506b5b41c649b53e69.tar.gz rust-09de34c10760d31e0781cb506b5b41c649b53e69.zip | |
Rollup merge of #86984 - Smittyvb:ipv4-octal-zero, r=m-ou-se
Reject octal zeros in IPv4 addresses This fixes #86964 by rejecting octal zeros in IP addresses, such that `192.168.00.00000000` is rejected with a parse error, since having leading zeros in front of another zero indicates it is a zero written in octal notation, which is not allowed in the strict mode specified by RFC 6943 3.1.1. Octal rejection was implemented in #83652, but due to the way it was implemented octal zeros were still allowed.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions
