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

Random Characters in the URL #2105

Closed
bellicose100xp opened this issue Sep 28, 2015 · 3 comments
Closed

Random Characters in the URL #2105

bellicose100xp opened this issue Sep 28, 2015 · 3 comments

Comments

@bellicose100xp
Copy link

My URL have random characters in the end http://localhost:9005/#/**?_k=yl5yqr** or http://localhost:9005/#/test**?_k=y9id0l**

Heres the file for Router,

'use strict';
import React from 'react';
import {Router, Route} from 'react-router';

import App from './app';
import Homepage from './components/homepage';
import Customers from './components/customers';
import Test from './components/test';


React.render((
    <Router>
        <Route component={App}>
            <Route path="/" component={Homepage}/>
            <Route path="test" component={Test}/>
        </Route>
    </Router>
),
document.querySelector('#app'));

How do I get rid of these? I'm using react-router 1.0.0-rc1

@vojtatranta
Copy link

Maybe that is because you use hash location, which holds state in url.

@DanielSundberg
Copy link

This was changed between 0.13.3 and 1.0.0-rc1.

There's also this thread:
#1967 (comment)

I have not been able to figure why this has been added or how to get rid of this parameter in the url, and how that would affect my application.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants