Closed Bug 1334196 Opened 9 years ago Closed 7 years ago

Google links to bugXXXX.bugzilla.mozilla.org/show_bug.cgi?id=YYYY

Categories

(bugzilla.mozilla.org :: Infrastructure, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mrbkap, Unassigned)

References

Details

I was googling for something today and there were a couple of bugzilla pages in the search results results. Clicking on one, I noticed that I was no longer logged in to bmo. That turned out to be because the host that Google linked to was <https://bug623317.bugzilla.mozilla.org>. Confusingly, the actual bug linked to was bug 679939, so the full result was <https://bug623317.bugzilla.mozilla.org/show_bug.cgi?id=679939>. The search I used was <https://www.google.com/search?q=COMPILE_N_GO&ie=utf-8&oe=utf-8> and for posterity, the first two results that I get are: 679939 – remove COMPILE_N_GO - Bug 623317 - Mozilla https://bug623317.bugzilla.mozilla.org/show_bug.cgi?id=679939 ... 288473 – (js-ccache) Cache compiled javascripts - Bug 623317 - Mozilla https://bug623317.bugzilla.mozilla.org/show_bug.cgi?id=288473 It would be nice if either these links redirected back to bugzilla.mozilla.org/show_bug... or if we somehow told Google to not spider the bugXXXX subdomains.
Component: Infrastructure → General
QA Contact: mcote
The apache config currently does # Let the bug subdomains redirect to the bug instead of to the home page RewriteCond %{SERVER_NAME} ^bug(\d+)\. RewriteRule ^/$ https://bugzilla.mozilla.org/show_bug.cgi?id=%1 [R=302,L] so https://bugXXX.bugzilla.mozilla.org/ redirects correctly but not anything else. Dylan, any concerns with opening up that '^/$' to something more broad (maybe just drop the '$') ?
Flags: needinfo?(dylan)
I don't see any harm in that.
Flags: needinfo?(dylan)
Did we need to make changes to the Apache Config or can I close this?
Flags: needinfo?(dylan)
I assume the change still needs to be made, and that config still lives in Puppet. I'll ask someone with commit access that to make the change (like fubar)
Component: General → Infrastructure
Flags: needinfo?(dylan)
QA Contact: mcote
As noted in the now-duped bug, Google search results also lead to api-dev.bugzilla.* and if searching while logged in, both the bugxxxx.bugzilla and api-dev.bugzilla results are (1) very slow to load an (2) do not retain the logged-in state and customizations of the logged in account -- one has to manually remove the api-dev or bugxxxxx prefix to get back to a fast and logged-in condition.

Since we now have canonical URLs, these bogus links should have been gone.

Status: NEW → RESOLVED
Closed: 7 years ago
Depends on: 1399721
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.