Hello, Thanks for your help. I looked at the headers and I see a really strange thing. In the cookie, the utmcsr had random values where I go to my pootle directly ... (I tried in different machines)
Any ideas ? Request : POST /pootle/suggestion/accept/113895/8 HTTP/1.1 Host: mypootlehost User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fr; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.04 (lucid) Firefox/3.6.13 Accept: application/json, text/javascript, */* Accept-Language: en,fr;q=0.8,fr-fr;q=0.6,en-us;q=0.4,el;q=0.2 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 115 Connection: keep-alive Content-Type: application/x-www-form-urlencoded; charset=UTF-8 X-Requested-With: XMLHttpRequest Referer: http://mypootlehost/pootle/en/myproject/ApplicationConstants-en.po/translate? Content-Length: 8 Cookie: __utma=132825421.1906214107.1275058035.1280910449.1290497977.4; __utmz=132825421.1290497977.4.2.utmccn=(referral)|utmcsr=strange random host|utmcct=/index.php|utmcmd=referral; sessionid=1c641c25461deeae1be63dc76ac3b5a4; csrftoken=03aa6139224fe57b7207da8f3aaf7a4b; _redmine_session=BAh7CzoQX2NzcmZfdG9rZW4iMTNBck1EZERDYU1vTHNCaUlnM3ZYcXIzeGRaeXU5d2kwRnEyblBwTEY4RVE9OgpxdWVyeXsHOg9wcm9qZWN0X2lkaQo6B2lkaSIiFmlzc3Vlc19pbmRleF9zb3J0Ig1wcmlvcml0eToPc2Vzc2lvbl9pZCIlMzVkYjIxMWNlNTRjYTk0MTVhYWE5YzA4NTU0MDg4NzAiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA6DHVzZXJfaWRpCA%3D%3D--670bca8395323009101b82a5a58597473e785939 Pragma: no-cache Cache-Control: no-cache Answer : HTTP/1.1 403 FORBIDDEN Date: Thu, 03 Mar 2011 07:54:17 GMT Server: Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Phusion_Passenger/2.2.8 Vary: Accept-Language,Cookie,Accept-Encoding Content-Language: en-us Content-Encoding: gzip Keep-Alive: timeout=15, max=18 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 On Wed, Mar 2, 2011 at 20:51, Terin Stock <[email protected]> wrote: > > > > 2. When I tried to install the latest version of Django, Pootle didn't > work > > and I had to downgrade to the previous. I had not keep the stacktrace but > i > > can retry if you want. > > > > 3. I can't use accept/reject suggestion, when I click, I see the > following > > error in firebug : "403 Forbidden Cross Site Request Forgery detected. > > Request aborted." Is it a known bug or have I something to configure ? > > If I remember correctly, newer versions of Django have csrf detection built > in, but the cookies should be being sent. I would take a look at the headers > your browser is sending with the request. > > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Translate-pootle mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/translate-pootle
