diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-09-21 17:06:34 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-09-21 17:06:34 +0000 |
commit | ea4b9c83810976235d3486d42e22ec8cf279abf1 (patch) | |
tree | 47d96c63d4df72bedba65debce315f7601290734 /lib/puppet/server/fileserver.rb | |
parent | c99843a75a837c042d231242896851ff56e91d34 (diff) | |
download | puppet-ea4b9c83810976235d3486d42e22ec8cf279abf1.tar.gz puppet-ea4b9c83810976235d3486d42e22ec8cf279abf1.tar.xz puppet-ea4b9c83810976235d3486d42e22ec8cf279abf1.zip |
Fixing #285, opened by ericb.
The problem here was that I was not escaping URIs throughout the chain, which
I am now doing.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1642 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/server/fileserver.rb')
-rwxr-xr-x | lib/puppet/server/fileserver.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/server/fileserver.rb b/lib/puppet/server/fileserver.rb index cb32212c9..85f0f5016 100755 --- a/lib/puppet/server/fileserver.rb +++ b/lib/puppet/server/fileserver.rb @@ -198,6 +198,8 @@ class Server def convert(url, client, clientip) readconfig + url = URI.unescape(url) + mount, stub = splitpath(url, client) authcheck(url, mount, client, clientip) |