Closed Bug 826960 Opened 11 years ago Closed 11 years ago

Packaged App Validation always fails with a developer url specified against quality.mozilla.org

Categories

(Marketplace Graveyard :: Developer Pages, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jsmith, Unassigned)

References

Details

Attachments

(1 file)

17.31 KB, application/x-zip-compressed
Details
Steps:

1. Grab this zip file - https://github.com/jds2501/webapi-permissions-tests/blob/gh-pages/contactscreateonly.zip
2. Run that zip file through the validator

Expected:

We shouldn't fail due to the developer url doing a redirect from http://quality.mozilla.org to https://quality.mozilla.org.

Actual:

A validation error is thrown for the fact that the developer url does a redirect from http://quality.mozilla.org to https://quality.mozilla.org. I don't see why we would fail due to a redirect - shouldn't be allowed in the developer url?
Attached file Test App
Just use the attached zip file for testing this - I'll be attaching a fix to the file on github that will work around this bug.
Well turns out the work-around I thought was going to work did not work at all.

Setting the dev url to https://quality.mozilla.org to avoid the redirect still reproduces the bug. So it looks like we might be failing in more cases than I initially expected.
Summary: Packaged App Validation fails if the developer url does a redirect to a valid URL within the app manifest → Packaged App Validation always fails with a developer url specified
Okay maybe it isn't always failing, but it appears to be failing with quality.mozilla.org.
Summary: Packaged App Validation always fails with a developer url specified → Packaged App Validation always fails with a developer url specified against quality.mozilla.org
This isn't a bug with the validator, it's a bug in zamboni.
Component: Validation → Developer Pages
(In reply to Matt Basta [:basta] from comment #5)
> This isn't a bug with the validator, it's a bug in zamboni.

So, if someone were to change the summary of the bug would "App upload fails when developer URL 302s http to https" be appropriate?
(In reply to Wil Clouser [:clouserw] from comment #6)
> So, if someone were to change the summary of the bug would "App upload fails
> when developer URL 302s http to https" be appropriate?

Yeah. This might actually be a dupe of that bug that Kumar was working on with pyopenssl
It is, bug 875142 blocks this one.  It's a P3, so marking this the same.
Depends on: 875142
Priority: -- → P3
Bug 875142 is fixed, so this should be fine now.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: