All Questions
Tagged with blobstore javascript
18 questions
0
votes
1
answer
5k
views
How to resolve Path Traversal vulnerability for the below code
const downloadFile = blobstoreRouter.get('/blobstore/download/:filename', (req, res) => {
var localFile = path.join(__dirname, '..', escape(req.params.filename));
var file = require('fs')....
1
vote
0
answers
24
views
IE browse image from blobestorage in new tab not working, but in Chrome works as well
I am using Angular 4 on UI.
Image dowloaded by url. As i understand
it is convertet to blob storage and we have such
link(blob:9C3A4E2E-488F-4C64-A1CD-7E4C4E464187) when browser
elements at browser.
...
0
votes
0
answers
55
views
App Engine second upload to Blobstore not working
I have a form whose data is asynchronously uploaded to Blobstore. When the upload is completed, the backend page outputs another blobstore.get_upload_url() to use for a second upload.
However, when ...
0
votes
0
answers
435
views
Uncaught TypeError: Illegal invocation jquery.min.js line 4
I have written the following code to upload file using blobstore google app engine. I am getting Uncaught TypeError, how to overcome it. Everything works fine but this exception is still there. I ...
0
votes
1
answer
158
views
how to save a image from js client to blobstore?
I want to save a image from my browser into google blobstore.
What I already tried:
Transform my img into a base64 string:
reader = new FileReader();
reader.readAsBinaryString(file);
call my ...
2
votes
1
answer
105
views
GAE + Blobstore: Serve different image size depending on viewport width
As we know, we can serve images from the blobstore using its serving url, and append =sXX to indicate the image's width:
<!-- serving an image of 600px width -->
<img src="{{serving_url}}=...
-1
votes
3
answers
149
views
Generate upload url before form submission
I am trying to resolve expired upload urls by delaying their generation before a file uploads and not when the form is rendered. A solution I found is to do this on form submission or on button click ...
3
votes
0
answers
493
views
BlobStore upload URL works, but returns 404
I am attempting to upload pictures to google Blobstore using purely javascript. I have a REST api that I query to get the upload url. I grab the upload url and post using the following code:
<form ...
0
votes
1
answer
622
views
Uploading images to App Engine in Java using Jquery blueimp [closed]
Could someone point me to some resource to implement multiple image uploads to Java app engine blobstore using JQuery blueimp plugin?
The docs have a maven implementation but I understand porting an ...
0
votes
2
answers
1k
views
Webapp Background File Upload to App Engine Blobstore
I would like to handle large file uploads to App Engine (Blobstore -> Google Cloud Storage) in my AJAX focused webapp hosted on the same App Engine domain.
From the browser javascript client I call ...
0
votes
1
answer
3k
views
How to get response using jQuery when a html form is submitted?
I am using BlobStore to save an image. I have a jsp Page. Code for that page is following:
<%@ page import="com.google.appengine.api.blobstore.BlobstoreServiceFactory" %>
<%@ page import="...
1
vote
1
answer
713
views
Upload binary data to AppEngine Blobstore via HTTP request
I'm trying to figure out the lowest data-overhead way to upload/download binary data to Google AppEngine's Blobstore from a JavaScript initiated HTTP request. Ideally, I would like to submit the ...
0
votes
1
answer
249
views
GAE blobstore url error: GET not supported
I am having trouble with the google app engine blob store. I am running in the development environment (ie local on my machine.)
Heres what i am doing...
once the form pops up i call into a servlet ...
4
votes
2
answers
2k
views
Saving canvas image via JavaScript from Safari (5.0.x) to AppEngine Blobstore
My team and I are unhappy that our awesome animation app doesn't work on Safari because of a combination of Safari and AppEngine limitations. We're hoping one of you can help us find the "magic ...
1
vote
1
answer
779
views
Posting a text string to an App Engine blobstore url
I have a chunk of text in a big string I create dynamically in javascript in a web app. I want to save it to the blob store. However, I can't figure out how to make it work. I am creating the URL to ...