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

Prevent hash from being part of the ctx.pathname #445

Closed matthewp closed 6 years ago

matthewp commented 6 years ago

As with the URL() constructor, we should leave the hash out of the pathname. Fixes #375

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 90.964% when pulling bc52c505d5e528abf5d8d3c0a72bcb754b29d9c7 on hash-in-ctx into ceea74e96f0407b426eb54e6cef1a0a15d127231 on master.