Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oh-bugimporters: Refuse to follow cross-domain redirects (within Bugzilla importer) #75

Open
ghost opened this issue Sep 3, 2014 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 3, 2014

Comment by paulproteus:

When reading the bug importer logs, I noticed a bit of exciting insanity:

2013-05-17 01:24:58+0000 [Spider for importing using oh-bugimporters] DEBUG: Redirecting
(302) to <GET https://bugzilla.mozilla.org/buglist.cgi?quicksearch=show_bug.cgi> from <GET
https://bugzil.la/show_bug.cgi?...]

Nothing good can come of this redirect (-:

In particular, it indicates that the bug tracker is misconfigured:

  • The base_url should be bugzilla.mozilla.org, not bugzil.la in this case.

But moreover, we never should accept cross-domain redirects, but doing such a redirect indicates
that the bug tracker is misconfigured.


Comment by blues_chick:

Investigating scrapy option settings for expanding shortened url bugzil.la to formal url
bugzilla.mozilla.org before starting the web crawl


Status: chatting
Nosy List: blues_chick, paulproteus
Priority: bug
Imported from roundup ID: 857 (view archived page)
Last modified: 2013-10-05.18:35:58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants