diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2011-12-20 20:17:17 +0100 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2011-12-21 00:02:40 +0100 |
commit | 482ec2ac3f518c91544a3b3e92765eef41b91419 (patch) | |
tree | 9f3e86ee13bf57ec1fd91368f9ec01882e72eff9 /activesupport/test/json/encoding_test.rb | |
parent | 53c1ae99f587d6d7f85a3910f97948906ebba877 (diff) | |
download | rails-482ec2ac3f518c91544a3b3e92765eef41b91419.tar.gz rails-482ec2ac3f518c91544a3b3e92765eef41b91419.tar.bz2 rails-482ec2ac3f518c91544a3b3e92765eef41b91419.zip |
Add ORIGINAL_FULLPATH to env
This behaves similarly to REQUEST_URI, but
we need to implement it on our own because
REQUEST_URI is not reliable.
Note that since PATH_INFO does not contain
information about trailing question mark,
this is not 100% accurate, for example
`/foo?` will result in `/foo` in ORIGINAL_FULLPATH
Diffstat (limited to 'activesupport/test/json/encoding_test.rb')
0 files changed, 0 insertions, 0 deletions