bernigaud / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

blogger post always tries to open files? #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It looks like I can say either

 ./google.py blogger post --tags "GoogleCL, awesome" "I'm posting from the 
command line"

./google.py blogger post blogpost.txt 

Does that mean it looked for a file called "I'm posting from the command 
line"?  It's neat that it's intuitive like that, but potentially surprising 
and dangerous if somebody decided to, say, make a blog post whose text is 
just "/dev/urandom"...

Original issue reported on code.google.com by jh...@google.com on 4 Jun 2010 at 6:46

GoogleCodeExporter commented 9 years ago
Will fix this by restricting the amount of data being uploaded from files. I 
think the only danger is in trying to upload a huge amount of data.

Original comment by tom.h.mi...@gmail.com on 7 Jun 2010 at 8:42

GoogleCodeExporter commented 9 years ago
r153 should take care of the dangers, though I was not sure of the maximum size 
of a blog post. I'll leave this as "fixed" but not "verified" until someone can 
conclusively prove the problem solved/unsolved.

Original comment by tom.h.mi...@gmail.com on 7 Jun 2010 at 8:59