Use the proper request attribute to use GET parameters (bug 975075)

Note that added tests aren't testing the modified line though.