We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Gratuitous leading zeros in port numbers should be stripped off. But the behavior of URI version 1.76 is:
$ perl -MURI -e "CORE::say URI->new('http://xyz:08080')->canonical->port" 08080
It already works as expected though for default ports:
$ perl -MURI -e "CORE::say URI->new('http://xyz:080')->canonical->port" 80 $ perl -MURI -e "CORE::say URI->new('https://xyz:0443')->canonical->port" 443
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Gratuitous leading zeros in port numbers should be stripped off. But the behavior of URI version 1.76 is:
$ perl -MURI -e "CORE::say URI->new('http://xyz:08080')->canonical->port" 08080
It already works as expected though for default ports:
The text was updated successfully, but these errors were encountered: