Subject: | getposturl clobbers supplied ctrl_url |
You can supply your own ctrl_url to Service::getposturl but it's
replaced by getcontrolurl(). Here's a patch.
--- CPAN/Net/UPnP/Service.pm (revision 9049)
+++ CPAN/Net/UPnP/Service.pm (working copy)
@@ -137,7 +137,7 @@
$location_url = $dev->getlocation();
$url_base = $dev->geturlbase();
- $ctrl_url = $this->getcontrolurl();
+ $ctrl_url ||= $this->getcontrolurl();
#print "$location_url\n";
#print "$url_base\n";