* (bug 27170) [Installer] Install now completes when choosing a CC license with the...
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 27 Mar 2011 20:13:30 +0000 (20:13 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 27 Mar 2011 20:13:30 +0000 (20:13 +0000)
commitd3005cfbd5aaa28a941dc0f046c301a8daf8972a
tree49a37131d43ea1342ba80a53f7e2b7ae760af0e2
parent30e642af8dde51eae188dce7f187b33f0dc0dbb5
* (bug 27170) [Installer] Install now completes when choosing a CC license with the picker

There were two things breaking this:
* X-Frame-Options forbade our final step of the license selector, or the license selection shower, from being loaded properly. This lead to it looking wrong.
* The installation URL fingerprinting broke on the long query string that's on the final step. As a result, the user's selection got saved into a different session subkey, thinking it belonged to a different installation. It would then not get seen by the surrounding page's installer instance, causing the confusion.

Fix removes the X-Frame-Options for the CC bit, and drops query strings before the rest of URL normalization in the fingerprint check so the CC bits now see the same session key as the rest.
includes/installer/WebInstaller.php
includes/installer/WebInstallerOutput.php