Closed Bug 770969 Opened 12 years ago Closed 11 years ago

Redirection tainted URLs

Categories

(developer.mozilla.org Graveyard :: Editing, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 836529

People

(Reporter: Jeremie, Unassigned)

Details

(Whiteboard: u=user c=wiki s= p=)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/16.0 Firefox/16.0a1
Build ID: 20120619030538

Steps to reproduce:

I hit the "Offline Cache" link in the Docs header menu which send me to https://developer-new.mozilla.org/en-US/docs//en/Offline_resources_in_Firefox


Actual results:

I was redirected to https://developer-new.mozilla.org/en-US/docs/HTML/Using_the_application_cache?redirectlocale=en-US&redirectslug=Offline_resources_in_Firefox


Expected results:

I should have been redirected to https://developer-new.mozilla.org/en-US/docs/HTML/Using_the_application_cache without any parameters
Whiteboard: u=user c=wiki s=2012-07-18 p=
Whiteboard: u=user c=wiki s=2012-07-18 p= → u=user c=wiki s= p=
Maybe we could get rid of the parameters by using a session message [1] to trigger the same "you've just been redirected" warning?

[1]: https://docs.djangoproject.com/en/1.2/ref/contrib/messages/
Thanks for reporting this, Jeremie. Just to be sure I understand, why do you not want the parameters to be present?

Les: Why do we add the parameters?
(In reply to John Karahalis [:openjck] from comment #2)
> Thanks for reporting this, Jeremie. Just to be sure I understand, why do you
> not want the parameters to be present?
> 
> Les: Why do we add the parameters?

Not really sure, I think it came from kitsune to begin with.
(In reply to John Karahalis [:openjck] from comment #2)
> Thanks for reporting this, Jeremie. Just to be sure I understand, why do you
> not want the parameters to be present?

It' is mainly a SEO concern. There is a (small) risk to see several URL be referenced with the same content. It implies a less efficient SEO effort with lower position in natural research.

It also have impact on performance. URL with parameters can be less efficiently cached by some (badly configured) proxies.

And to conclude, it can be a bit confusing for users. Having a clean and consistent URL schema help to give confidence in the site content.
Priority: -- → P3
Version: Kuma → unspecified
Component: Docs Platform → Editing
Priority: P3 → P2
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.