I have a requirement to avoid dupolicated URIs in database.
For example, URLs like

http://somedomain.com/path1?query1 and http://somedomain.com/path2?query2
should be considered as same url, but

http://somedomain.com/~username1 and http://somedomain.com/~username2 are not,

and finally

http://somedomain.com/~username1/path1 and
http://somedomain.com/~username1/path2?query should be considered as same.

Is there any way I can perform this validation using URI class?

-- 
Eugene N Dzhurinsky

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to