Make the custom link valid
Make the custom link valid

Closes #7424
ReactTraining/react-router,rackt/react-router,reactjs/react-router,reactjs/react-router,ReactTraining/react-router,rackt/react-router,ReactTraining/react-router,ReactTraining/react-router