Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: not respect base tag #1448

Merged
merged 8 commits into from
Jun 16, 2017
Merged

Conversation

sabakugaara
Copy link
Contributor

priority use document.baseURI to replace window.location, fix #1426

in case: when view page cache, search engine will inject <base> tag to current html
but window.location is still webcache.googleusercontent.com/search?q=cache:...

in most situation baseURI is equal to window.location

@sabakugaara
Copy link
Contributor Author

Incompatible with #1396

@sabakugaara
Copy link
Contributor Author

I will update this later

- respect `<base>` tag

in case: when view page cache, search engine will inject `<base>` tag to current html
but `window.location` is still `webcache.googleusercontent.com/search?q=cache:...`

in most situation `baseURI` is equal to `window.location`
@sabakugaara
Copy link
Contributor Author

这个修改会和 #1396 不兼容,可能需要再考虑下

@yyx990803 yyx990803 merged commit 39393e4 into vuejs:dev Jun 16, 2017
yyx990803 added a commit that referenced this pull request Jun 17, 2017
Nicholas-Liu pushed a commit to Nicholas-Liu/upyun.com that referenced this pull request Aug 23, 2017
@suinly
Copy link

suinly commented Jul 2, 2021

Hello. When will this fix be released?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

not respect <base > tag
3 participants