Re: [google-appengine] how to check virus for the uploaded files?

2014-05-26 Thread Vinny P
On Sat, May 24, 2014 at 9:34 AM, saintthor saintt...@gmail.com wrote: i want to set a service for users to upload and download files. there may be virus or other risks in the files. can i check them? There are online virus-scanning tools you can use via API such as: https://scanii.com/ and

Re: [google-appengine] dev_appserver.py cannot connect to some HTTP endpoint

2014-05-26 Thread Vinny P
On Fri, May 23, 2014 at 3:49 PM, Marco Lovato maglov...@gmail.com wrote: INFO 2014-05-23 20:44:07,649 sdk_update_checker.py:242] Checking for updates to the SDK. INFO 2014-05-23 20:44:07,978 __init__.py:94] Connecting through tunnel to: appengine.google.com:443 INFO 2014-05-23

Re: [google-appengine] Service error from AppEngine

2014-05-26 Thread Vinny P
On Sun, May 25, 2014 at 10:41 AM, Build Account newandroi...@gmail.com wrote: How to fix this error? It seem that occured somtime from FilterChain. java.lang.NullPointerException at org.apache.jsp.index_jsp._jspService(index_jsp.java:65) at ...dFilter.doFilter(Unknown

Re: [google-appengine] HttpOnly-Cookie in Java?

2014-05-26 Thread Vinny P
On Fri, May 23, 2014 at 2:53 AM, stephanos stephan.beh...@gmail.com wrote: Well, this can't be! How are others solving this? On Wed, Apr 30, 2014 at 3:09 AM, Vinny P vinny...@gmail.com wrote: I don't believe there's a way to do that. If you want a workaround, you could try hosting a HTTPS

Re: [google-appengine] HttpOnly-Cookie in Java?

2014-05-26 Thread stephanos
Hey Vinny, thanks for your detailed response! But it seems you are talking about the 'Secure'-flag - not the 'HttpOnly'-flag. Because the 'HttpOnly'-flag has nothing to do with HTTPS/HTTP: It prevents Javascript from accessing the cookie. So even if we use HTTPS everywhere (which we do) if

Re: [google-appengine] HttpOnly-Cookie in Java?

2014-05-26 Thread Stephan Hartmann
Hi Stephanos, Please find here some suggenstions how to set the httponly flag for session cookies on servlet containers prior to JEE6: https://www.owasp.org/index.php/HttpOnly#What_is_HttpOnly.3F Best regards, Stephan 2014-05-26 10:22 GMT+02:00 stephanos stephan.beh...@gmail.com: Hey Vinny,

Re: [google-appengine] dev_appserver.py cannot connect to some HTTP endpoint

2014-05-26 Thread Marco Lovato
Did that... Same problem, except that, yes, it do not try to check for upgrade. Didn´t know in fact if it succeded or not in contacting GAE servers, and did not remember if @home, there´s a differente feedback on console. The strage part is that I can do an appcfg.py update. It really works.

Re: [google-appengine] dev_appserver.py cannot connect to some HTTP endpoint

2014-05-26 Thread Marco Lovato
One addition: port 8000 works. I can use the admin UI. The 8080 is the tcp port that does not work. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [google-appengine] dev_appserver.py cannot connect to some HTTP endpoint

2014-05-26 Thread Marco Lovato
Ok. Some progress... If i completelly unset proxy, and tell to skip updates, I can yes bring the 8080 up. So, its the dame proxy... But, why... -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop

Re: [google-appengine] dev_appserver.py cannot connect to some HTTP endpoint

2014-05-26 Thread Marco Lovato
Looks like it is sending to proxy the localhost requests... -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To

Re: [google-appengine] HttpOnly-Cookie in Java?

2014-05-26 Thread stephanos
Hey Stephan, thanks for the suggestion! But doesn't this solution write the JSESSIONID on every request? And it seems to only work after the 2nd HTTP request? Regards Stephan :) On Monday, May 26, 2014 12:57:30 PM UTC+2, Stephan Hartmann wrote: Hi Stephanos, Please find here some

Re: [google-appengine] dev_appserver.py cannot connect to some HTTP endpoint

2014-05-26 Thread Marco Lovato
Yes, it is. I removed the opener.add_handler(fancy_urllib.FancyProxyHandler()) from appengine/tools/appengine_rpc.py Then I added an if 'localhost' not in host to add the proxy or not. This way I can start without having to disable GAE updates. Now the app loads. BUT inside the app, I still

Re: [google-appengine] HttpOnly-Cookie in Java?

2014-05-26 Thread Stephan Hartmann
Hi Stephan, request.getSession() creates a new session if there isn't already one (what's true for the first request) and its ID is available immediately after that, so it will work for the first request as well. If you are creating your sessions programmatically, you may know where

Re: [google-appengine] HttpOnly-Cookie in Java?

2014-05-26 Thread stephanos
Hi Stephan, you are right, I didn't think about it this way. Thanks for going into detail :) PS: I tried the solution with the setHeader() a while ago and if I remember correctly the JSESSIONID-Cookie never went through this method. Could be because of App Engine, not sure. On Monday, May

Re: [google-appengine] Blobstore returns incorrect url

2014-05-26 Thread Aidan Mack
As in deploy it to the web? I dont know. I really need to be able to get it working locally first anyway. Thanks Aidan On Saturday, 10 May 2014 06:27:59 UTC+1, Vinny P wrote: On Fri, May 9, 2014 at 7:45 AM, Aidan Mack aida...@hotmail.comjavascript: wrote: Hi im having trouble returning