In the method permission_denied, did not use the request parameter.
Merge pull request #1448 from zhanghongfei/master

In the method permission_denied, did not use the request parameter.