-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
v4 SSR gives incorrect urls #4523
Comments
Fixed in #4484 |
@pshrmn sorry for maybe a silly question, but how can I install fixed version? The |
There isn't a good answer to that. Until a new release is put out so that it can be installed through return (0, _PathUtils.addLeadingSlash)(_this.props.basename + createURL(path)); That moves the closing parentheses for the That isn't ideal, but it will prevent your code from generating the extra slash until the fix is released. |
I aslo encountered then problem,thanks solved problem |
when the value is 'javascript:;',the problem is still exist. |
Version
4.0.0-beta.5
Expected Behavior
I expect it to render correct urls. 🙂
Actual Behavior
Renders
a
tags with incorrect url.Steps to reproduce
If I disable Javascript in browser and the app renders only on the server, incorrect urls render with double slashes.
Server side code
The text was updated successfully, but these errors were encountered: