diff --git a/lib/AssetGraph.js b/lib/AssetGraph.js
index <HASH>..<HASH> 100644
--- a/lib/AssetGraph.js
+++ b/lib/AssetGraph.js
@@ -116,7 +116,7 @@ _.extend(AssetGraph.prototype, {
                     cb(new Error("AssetGraph.resolveAssetConfig: No resolver found for protocol: " + protocol));
                 }
             } else {
-                if (/^\//.test(obj.url) && /^file:/.test(fromUrl) && /^file:/.test(that.root)) {
+                if (/^\/(?:[^\/]|$)/.test(obj.url) && /^file:/.test(fromUrl) && /^file:/.test(that.root)) {
                     obj.url = that.root + obj.url.substr(1);
                 } else {
                     obj.url = urlTools.resolveUrl(fromUrl, obj.url);
AssetGraph.resolveAssetConfig: Fixed test for root-relative urls (also matched protocol-relative ones).