Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Malformed URL exception when contains double-byte characters #2120

Closed
roydukkey opened this issue Jul 11, 2016 · 0 comments
Closed

Malformed URL exception when contains double-byte characters #2120

roydukkey opened this issue Jul 11, 2016 · 0 comments

Comments

@roydukkey
Copy link

roydukkey commented Jul 11, 2016

The input provided below is a logical example for when double-byte character may be used. However, to verify this issue on a smaller URL, the following can be tested and produces the same exception: 네이버.com. Single quotes around the URL will work around the issue.

input.scss

@import url(//fonts.googleapis.com/css?family=Signika+Negative&text=“”)

libsass 3.3.6

Error: malformed URL
        on line 1 of stdin
>> @import url(//fonts.googleapis.com/css?family=Signika+Negative&text=“”)
   --------^

ruby sass 3.4.21

@charset "UTF-8";
@import url(//fonts.googleapis.com/css?family=Signika+Negative&text=“”);

version info:

$ node-sass --version
node-sass       3.8.0   (Wrapper)       [JavaScript]
libsass         3.3.6   (Sass Compiler) [C/C++]
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants