aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2009-02-11 21:53:08 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2009-02-11 21:53:39 +0000
commit71488baeab1d82ae132d57ae402e6428b324fd2a (patch)
tree5f6b1c43da569c92e22809bd908164b8cfc46f6c
parenta2a5757fd022a82591e0028538f07bf75912ad58 (diff)
downloadpaludis-71488baeab1d82ae132d57ae402e6428b324fd2a.tar.gz
paludis-71488baeab1d82ae132d57ae402e6428b324fd2a.tar.xz
Fix --layman-url with a query string
-rwxr-xr-xruby/demos/playman.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/demos/playman.rb b/ruby/demos/playman.rb
index 297a571..72c90fe 100755
--- a/ruby/demos/playman.rb
+++ b/ruby/demos/playman.rb
@@ -149,7 +149,7 @@ end
repositories = $env.package_database.repositories
begin
- req = Net::HTTP::Get.new($laymanglobal_url.path)
+ req = Net::HTTP::Get.new($laymanglobal_url.request_uri)
proxy_host = $proxy_url.host if $proxy_url and $proxy_url.host
proxy_port = $proxy_url.port if $proxy_url and $proxy_url.port
proxy_user, proxy_pass = $proxy_url.userinfo.split(/:/) if $proxy_url and $proxy_url.userinfo