question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

While using the browser, not node, in dev mode: .test { background: url(); background: url('test'); background: url(''); } when “manually invoke the parser and compiler” via JavaScript will output: .test { background: url(); background: url('test'); background: url([object Object]); } but when compiled via the ‘rel set to “stylesheet/less”’ method: .test { background: url(http://www.example.com/less/); background: url('http://www.example.com/less/test'); with the last declaration causing a FATAL ERROR: b.value.charAt is not a function

This might be related to or explain a number of reported issues about “url()” and “string interpolation”

Issue Analytics

  • State:closed
  • Created 11 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
neonstalwartcommented, May 15, 2012

also @WraithKenny you might reconsider if you really want to be working with a library that has a list like that which hasn’t been addressed in over 2 years.

0reactions
lukeapagecommented, Sep 1, 2012

thanks, but that only half fixes the problem. There is a better patch (I think) to move the calculation after evaluation (after variables have been assessed). I will be looking into this next week.

Read more comments on GitHub >

github_iconTop Results From Across the Web

URL Parsing-Library Bugs Allow DoS, RCE, Spoofing & More
They occur when a web application accepts a user-controlled input that specifies a URL that the user will be redirected to after a...
Read more >
How to Troubleshoot an Error in a URL - Lifewire
Did you type a URL into your browser and find that it doesn't load? You may have the wrong URL or you may...
Read more >
net/url - Go Packages
Package url parses URLs and implements query escaping.
Read more >
JDK-4249722 URL.openStream() throws NULL ptr ... - Bug ID
JDK-4249722 : URL.openStream() throws NULL ptr exception with FTP protocol and .zip file. Type: Bug; Component: core-libs; Sub-Component: java.net ...
Read more >
Errors in transforming URL objects back to URLs. #1338
URL objects transforms correctly into strings. What do you see instead? When in ported code, fetch() returns FailedToOpenSocket: fetch() failed ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found