Store client URL prefix fix #358

merged 4 commits into from Aug 23, 2012


None yet

3 participants


The store.client.js code builds a URL with which to call the server for either a "Spec" or "Type" JSON file. The URL it generates expects the value of "this.staticPrefix" to start with a slash ("/"), however it doesn't always have the slash. The result is an invalid URL which crashes the app in browsers that do not fix the URL on the fly.

This fix checks for the existence of the slash and if it's not found it will add one.


@capecodehq Can you post here the value of staticHandling.prefix that you are using?

@mridgway mridgway was assigned Aug 23, 2012
@mridgway mridgway referenced this pull request Aug 23, 2012

Store client url fix #425

@mridgway mridgway merged commit 4dd5bec into yahoo:develop Aug 23, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment