diff options
author | Linus Groh <mail@linusgroh.de> | 2021-03-07 17:14:58 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-07 17:39:58 +0100 |
commit | 3532e1788f22d6db1a5c26d7fef28bd391c2f4a0 (patch) | |
tree | 3ad8b5de0119bbdf7196668cbc3fc3c16383e3a8 /Userland/Libraries/LibWeb/CSS/CSSStyleRule.cpp | |
parent | 501952852ce84606618b82b703dedd505a11357a (diff) | |
download | serenity-3532e1788f22d6db1a5c26d7fef28bd391c2f4a0.zip |
open: Fix opening "." (again)
We can't always rely on the initial URL's path(), so use either the
user-specified argument or the URL path for determining the realpath,
depending on whether we got a file:// URL argument.
Fixes #4950.
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/CSSStyleRule.cpp')
0 files changed, 0 insertions, 0 deletions