less / less/less-plugin-inline-urls
Ignore or properly resolve remote URLs
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 15
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Remote urls should be ignored or properly resolved. Right now, they are being searched as a path, ignoring the fact that they are on a fully-qualified domain:
RuntimeError: error evaluating function `data-uri`: ENOENT, no such file or directory '/var/www/https:/fonts.gstatic.com/s/sourcesanspro/v9/ODelI1aHBYDBqgeIAH2zlNHq-FFgoDNV3GTKpHwuvtI.woff' in /var/www/less/common/fonts.less on line 28, column 66:
27 font-weight: 400;
28 src: local('Source Sans Pro'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v9/ODelI1aHBYDBqgeIAH2zlNHq-FFgoDNV3GTKpHwuvtI.woff) format('woff');
29 }
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the data-uri failure described for less/common/fonts.less using the fully qualified Google Fonts URL. Trace how the plugin handles that URL before it is searched as a path. Done means remote URLs are either ignored or resolved correctly without the shown local-path ENOENT error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100