visionmedia / page.js

Micro client-side router inspired by the Express router
http://visionmedia.github.com/page.js
7.67k stars 687 forks source link

Added missing `location.search` for onpopstate #406

Closed MichaelBergquistSuarez closed 7 years ago

MichaelBergquistSuarez commented 7 years ago

There was a missing location.search in onpopstate, which could cause users to be redirected with the query missing

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 89.209% when pulling df98b98012077f1aeb4a8d9211f27b17e7354b9a on MichaelBergquistSuarez:fix-onpopstate-url into f241eafdc6b0a6545e27ad4dd82bcdeb305e7564 on visionmedia:master.

MichaelBergquistSuarez commented 7 years ago

This seem to cause other problems, causing some sort of redirect to the same URL. Closing