Merge pull request #2534 from joelittlejohn/test-fragment
On complete, ignore fragments that don't contain useful information
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script>
|
||||
var qp = null;
|
||||
if(window.location.hash && window.location.hash !== "#_=_") {
|
||||
if(/code|token|error/.test(window.location.hash)) {
|
||||
qp = location.hash.substring(1);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user