Skip to content

Consider both hash params and query when parsing URL - #19418

Merged
DeepDiver1975 merged 1 commit into
masterfrom
fix-parsehashquery
Sep 29, 2015
Merged

DeepDiver1975 merged 1 commit into
masterfrom
fix-parsehashquery

Conversation

@PVince81

Copy link
Copy Markdown
Contributor

Should fix #14828

Also when leaving the new text editor (close the popup), and then refreshing the page, it should properly show the current folder.

  • TEST: IE8
  • TEST: test test!

@oparoz @rullzer

@PVince81 PVince81 added this to the 8.2-current milestone Sep 28, 2015
@PVince81

Copy link
Copy Markdown
Contributor Author
  • TEST: back and forward browser arrows (IE8 and others)

@karlitschek

Copy link
Copy Markdown
Contributor

looks good 👍 not tested

@rullzer

rullzer commented Sep 28, 2015

Copy link
Copy Markdown
Contributor

elegant.

Clicked around a bit and did not break it yet. So 👍

@PVince81

Copy link
Copy Markdown
Contributor Author

Ok, I did another test with a mixed-format URL:
"http://localhost/owncloud/index.php/apps/files/?dir=text#?dir=%2F".

This should never happen in practice, but in case it does, the left part has higher priority.
(the hash part is the workaround for IE8 not supporting the history API)

So I think this can be merged.

DeepDiver1975 added a commit that referenced this pull request Sep 29, 2015
Consider both hash params and query when parsing URL
@DeepDiver1975
DeepDiver1975 merged commit 037cce7 into master Sep 29, 2015
@DeepDiver1975
DeepDiver1975 deleted the fix-parsehashquery branch September 29, 2015 11:21
@lock lock Bot locked as resolved and limited conversation to collaborators Aug 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

hash in url in files app leads to root

4 participants