← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 692807] Re: unknown locale crash the system

 

On Wednesday 22 December 2010, you wrote:
> As i comment here i update my repo, just run python openerp-web.py try
> to access in my chrome and get the error.
> 
> I debug utils.py file at line 81 starting the try get the value vars and
> http://paste.pocoo.org/show/308410/ You can see in the header is set the
> value:
> 'Accept-Language': 'es-419,es;q=0.8,en;q=0.6'
> When accept_languages = get_accept_languages(header) but babel is not
> accepting that value

I think this makes it perfectly clear now:
Since languages may come from the Net, through the Accept-Language header, we 
have to make sure none of them can bork the server. 
Not even Nigerian-Spanish :P


-- 
Say NO to spam and viruses. Stop using Microsoft Windows!

-- 
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/692807

Title:
  unknown locale crash the system

Status in OpenObject Web Client:
  Invalid

Bug description:
  i am at revno 4146 get this error loading localhost:8080 http://paste.pocoo.org/show/307647/ my locale configuration in my computer is es_EC

Regards,





References