Although mIRC could/should do some sanitizing the problem actually lays in Windows' handling of URIs.
See http://secunia.com/advisories/26201/
This archive was generated by hypermail 2.1.8 : Sun Oct 28 2007 - 06:19:19 EDT