← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 732454] Re: Running web client on firefox browser failed

 

I'v try to test on some firefox versions. Firefox 3.6 is not OK. Firefox
3.5.16 is OK.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/732454

Title:
  Running web client on firefox browser failed

Status in OpenERP Web Client:
  New

Bug description:
  My openerp runs successfuly on Chrome, IE, Opera, but Firefox.

  In firefox, after I put correct user/pass to authenticate, the firefox
  screen has a following message:

  "
  403 Forbidden

  Request Forbidden -- You are not allowed to access this resource.

  Traceback (most recent call last):
    File "/usr/local/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 603, in respond
      self.hooks.run('before_handler')
    File "/usr/local/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 98, in run
      hook()
    File "/usr/local/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 58, in __call__
      return self.callback(**self.kwargs)
    File "/usr/local/lib/python2.6/site-packages/openerp_web-6.0.1-py2.6.egg/openobject/tools/_tools.py", line 38, in csrf_check
      raise cherrypy.HTTPError(403, "Request Forbidden -- You are not allowed to access this resource.")
  HTTPError: (403, 'Request Forbidden -- You are not allowed to access this resource.')
  -------------------------------------------
  Powered by CherryPy 3.1.2
  "
  When I have changed an opnerp-web config line as follows:

  from
  tools.csrf.on = True
  to
  tools.csrf.on = False

  so, it's OK.

  Is this a bug or "such is this" ?

  My system installed:
  + Linux 2.6 Fedora
  + OpenERP web server 6.0.1 from stable release



References