[NSE][RFC] Port return type from url.parse()

nnposter <[email protected]>
Newsgroups gmane.comp.security.nmap.devel
Message-ID <[email protected]>
Function url.parse() separates a given URL into individual components,
such as the scheme, host, port, and path.

As of now the port part is being returned as a string. I would like to
propose that port return type is changed to a number, technically an
integer.

Details at https://github.com/nmap/nmap/issues/833

I am soliciting feedback on any downsides of this change.


Cheers,
nnposter
_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.