aboutsummaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-09-20 13:29:35 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-09-21 16:32:57 +0000
commit54722369d8ca0c6b90c6d874b0f712e133cd4925 (patch)
tree843c2c2df3f7303d1c89e299a89ea6b327fd4cc0 /debug.c
parentchangelog: crash when xdg token is set, but compositor does not support activation (diff)
url-mode: don't strip the file:// prefix from localhost URIs
Before this patch, the file://<host> prefix was stripped from URIs, when the hostname matched the current host (that is, for "local" URLs). Unfortunately, the way this was done caused other parts of the URI to be stripped as well. For example, the 'query' and 'fragment' parts. This patch simply removes all special casing of file:// URIs. Since the URL is passed to a generic opener (i.e. we don't have a special opener application for file:// URIs), the opener helper must handle the file:// prefix anyway. Closes #1474
Diffstat (limited to 'debug.c')
0 files changed, 0 insertions, 0 deletions