Store client URL prefix fix #358

Merged
merged 4 commits into from Aug 23, 2012

Projects

None yet

3 participants

@ricallinson
Contributor

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.

@drewfish
Member

@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
Merged

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