diff --git a/page.js b/page.js index 1b9a3820..db45b1c0 100644 --- a/page.js +++ b/page.js @@ -401,6 +401,7 @@ this.path = parts[0]; this.hash = decodeURLEncodedURIComponent(parts[1]) || ''; this.querystring = this.querystring.split('#')[0]; + this.pathname = this.pathname.split('#')[0]; } }