Browser Uploads to Walrus using HTML POST Forms does not work.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eucalyptus |
Fix Committed
|
Undecided
|
Neil Soman |
Bug Description
Problem Summary:
I can't upload to Walrus using HTML POST Forms.
Because the UploadPolicyChecker checks all fields including AWSAccessKeyId, signature, policy and files.
Amazon S3 does not check these fields.
In addition, it seemed that the policy mast include "Content-Type" and "content-type".
Applies To:
eucalyptus-
For examples:
The responce of this Post form is Failure 403.
<html>
<head>
<meta http-equiv=
</head>
<body>
<form action="http://
<input type="text" name="key" value="
<input type="text" name="acl" value="public-read" />
<input type="text" name="content-type" value="text/plain" />
<input type="hidden" name="AWSAccess
<input type="hidden" name="policy" value="
<input type="hidden" name="signature" value="
<input name="file" type="file" />
<input name="submit" value="Upload" type="submit" />
</form>
</body>
</html>
Failure: 403 Forbidden
com.eucalyptus.
Related branches
Changed in eucalyptus: | |
assignee: | nobody → Neil Soman (neilsoman) |
AWSAccessKeyId, signature, file, policy, submit are actually ignored by UploadPolicyChe cker.
There was an issue with "content-type" being included twice (once as "Content-Type" and then again as "content-type").
Fixed in revno 1261.