File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,16 @@ const formatTests = {
173173 hash : '#bar'
174174 } ,
175175
176+ // `#` in path end + `#` in query
177+ '/path/to/%%23?foo=the%231#bar' : {
178+ href : '/path/to/%%23?foo=the%231#bar' ,
179+ pathname : '/path/to/%#' ,
180+ query : {
181+ foo : 'the#1'
182+ } ,
183+ hash : '#bar'
184+ } ,
185+
176186 // `?` and `#` in path and search
177187 'http://ex.com/foo%3F100%m%23r?abc=the%231?&foo=bar#frag' : {
178188 href : 'http://ex.com/foo%3F100%m%23r?abc=the%231?&foo=bar#frag' ,
You can’t perform that action at this time.
0 commit comments