Permalink
Browse files

Fixing CSS path rewrites for mono - need to write some tests to confi…

…rm that this doesn't break changes from pull request #109 (#109)
  • Loading branch information...
1 parent 70f8274 commit 55a636f88a348a270c03bd4c4f71bdd303c0bdaa @AlexCuse AlexCuse committed Nov 27, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 SquishIt.Framework/Css/CssPathRewriter.cs
@@ -23,7 +23,9 @@ public static string RewriteCssPaths(string outputPath, string sourcePath, strin
foreach (string relativePath in relativePaths)
{
- var resolvedSourcePath = new Uri(Path.Combine(sourceDirectory, relativePath));
+ //TODO: test!
+ //var resolvedSourcePath = new Uri(Path.Combine(sourceDirectory, relativePath));
+ var resolvedSourcePath = new Uri(new Uri(sourceDirectory) + relativePath);
var resolvedOutput = outputUri.MakeRelativeUri(resolvedSourcePath);
var newRelativePath = asImport ? "squishit://" + resolvedOutput.OriginalString : resolvedOutput.OriginalString;

0 comments on commit 55a636f

Please sign in to comment.