Changesets can be listed by changeset number.
The Git repository is here.
Changeset 235
Make sure that URI query and path strings are decoded. Without
this, encoded URI strings are used directly as parts of paths
to locations within the CVS sandbox. Obviously, these fail.
- Comitted by: rool
- Date: Saturday October 04 18:41:39 2008 (over 16 years ago)
Affected files:
rool/rails/rcvsweb/trunk/app/controllers/application.rb:
prev. | current | |
# CGI, at least for LightTPD. Strip off the PATH_PREFIX (location | ||
# of the Rails application) if present. | ||
46 | | |
46 | uri = @request.env['REQUEST_URI'].dup # NOT a full URI | |
uri.slice!(PATH_PREFIX + '/') | ||
# Split off the query string section, if there is one. | ||
(path_info, query) = uri.split('?') | ||
53 | path_info = URI.decode(path_info) unless path_info.nil? | |
54 | query = URI.decode(query) unless query.nil? | |
55 | ||
# The CGI script expects certain variables to be set up in a | ||
# certain way. "Slow" CGI does this but FastCGI does not because | ||
# the script executes under a different process environment |