You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As described in this S.O. issue, if there is a remote file path that contains the same filename as another file that is a valid rewrite (an actual asset path that should be rewritten), the rewriteAssetPath method is processing those paths even though they're to a remote path.
For instance, in a project named coolapp:
model: function(){// this path is being rewritten because it's matching `coolapp` but not taking into account that it's from a remote pathreturnEmber.$.getJSON('http://my.remote.url.com/coolapp.json');}
I imagine this probably just needs some adjustments to the regex to prevent matching remote paths.
The text was updated successfully, but these errors were encountered:
I'll try to throw together a test case, and maybe even take a crack at it later tonight. I'm doing something similar with ember-cli-mv, but I'm walking the AST for each file and updating paths there (currently just doing a regex as well).
As described in this S.O. issue, if there is a remote file path that contains the same filename as another file that is a valid rewrite (an actual asset path that should be rewritten), the rewriteAssetPath method is processing those paths even though they're to a remote path.
For instance, in a project named
coolapp
:I imagine this probably just needs some adjustments to the regex to prevent matching remote paths.
The text was updated successfully, but these errors were encountered: