Project

General

Profile

Feature #12867

Add ability to check validity of a URL

Added by shlok007 (Shlok Srivastava) over 3 years ago. Updated over 3 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:77722]

Description

Hi!
Going through the URI module of Ruby, it was obvious that we can check the validity of a URI by using URI.regexp . However, I found out there is no way we can accurately check for a valid URL by using the URI module. Won't it be better if there was a built in method in the URI module that could check for the validity of a URL or a URN as well ?

This is just a suggestion and feel free to close it if this doesn't seems like something that should be implemented. :)

PS- If you feel this can or should be implemented, I would love to work on it. ;)
Thank you.

Also available in: Atom PDF