Skip to content

Commit

Permalink
Do not process absolute url with SassC importer
Browse files Browse the repository at this point in the history
  • Loading branch information
ntkme committed Jul 7, 2024
1 parent f42ffac commit f36fd50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sassc/embedded.rb
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def initialize(importer)
end

def canonicalize(url, context)
return unless context.containing_url&.start_with?('file:')
return unless context.containing_url&.start_with?('file:') && url !~ /^[A-Za-z][0-9A-Za-z+\-.]*+:/

containing_url = context.containing_url

Expand Down

0 comments on commit f36fd50

Please sign in to comment.