Skip to content

Instantly share code, notes, and snippets.

@masterzen
Created March 15, 2010 15:53
Show Gist options
  • Select an option

  • Save masterzen/332973 to your computer and use it in GitHub Desktop.

Select an option

Save masterzen/332973 to your computer and use it in GitHub Desktop.
diff --git a/lib/puppet/network/http/rack/rest.rb b/lib/puppet/network/http/rack/rest.rb
index 1047512..a2e60ee 100644
--- a/lib/puppet/network/http/rack/rest.rb
+++ b/lib/puppet/network/http/rack/rest.rb
@@ -46,7 +46,7 @@ class Puppet::Network::HTTP::RackREST < Puppet::Network::HTTP::RackHttpHandler
# what path was requested? (this is, without any query parameters)
def path(request)
- request.path
+ request.path_info
end
# return the request body
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment