rapid7/metasploit-framework — pull request #1461 by wchen-r7 (2013-02-08 18:14:33+00:00)
Title: Fix bug: TypeError can't convert Fixnum into String

wmap_target_port is retrieved from datastore['RPORT'], and that's a Fixnum. But wmap_base_url is treating that like a String, so when a module uses that function, it's doomed.

See:
http://dev.metasploit.com/redmine/issues/7748