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.

URI Traversing misses uris within double quote marks

See original GitHub issue

Example CSS:

.tp-transparentimg { content: "url(../assets/transparent.png)"; }

I would expect that WikiVisitUrls.java example will print url, but it does not.

If you remove double quote marks from css, the WikiVisitUrls example works fine!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
Kvizercommented, Jun 22, 2020

according “CSS content Property” example from https://www.w3schools.com/cssref/pr_gen_content.asp

we can have css like

a::after { content: " (" attr(href) ")"; }

so i guess it’s common behavior that someone insert url in double quote marks

0reactions
phaxcommented, Jul 1, 2020

Seems to work 😃 If not, feel free to re-open

Read more comments on GitHub >

github_iconTop Results From Across the Web

URI Traversing misses uris within functions #59 - phax/ph-css
So what you basically suggest is to add a flag "visit nested expressions" in the general visitor and enable this flag by default...
Read more >
Is quoting the value of url() really necessary? - Stack Overflow
The format of a URI value is 'url(' followed by optional white space followed by an optional single quote (') or double quote...
Read more >
RFC 3261: SIP: Session Initiation Protocol
The Session Initiation Protocol (SIP) works in concert with these protocols by Rosenberg, ... For SIP, the 'uri' MUST be enclosed in quotation...
Read more >
You Can Quote Me - The University of Rhode Island
URI experts are quoted in the media frequently. Here are a few that bear repeating.
Read more >
How to use single and double quotes in PostgreSQL - Prisma
In general, if an item is a string, it needs to be surrounded by single quotation marks. Keep in mind that when creating...
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