Authentication-Results: mail-b.sr.ht; dkim=none Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172]) by mail-b.sr.ht (Postfix) with ESMTPS id 8DFE311EF1B for <~sircmpwn/sr.ht-discuss@lists.sr.ht>; Sun, 7 Mar 2021 20:55:15 +0000 (UTC) Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4Dttyp2xClzQjmq for <~sircmpwn/sr.ht-discuss@lists.sr.ht>; Sun, 7 Mar 2021 21:55:14 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030) with ESMTP id n-gCpkbp6dZS for <~sircmpwn/sr.ht-discuss@lists.sr.ht>; Sun, 7 Mar 2021 21:55:07 +0100 (CET) Message-ID: Date: Mon, 8 Mar 2021 09:55:01 +1300 MIME-Version: 1.0 Subject: Re: [pages] Behaviour of Links Content-Language: en-US To: ~sircmpwn/sr.ht-discuss@lists.sr.ht References: <20210307092859.epjy2rpc6svzblxa@arch> From: "Webmaster At Solarpunk.Cool" In-Reply-To: <20210307092859.epjy2rpc6svzblxa@arch> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-MBO-SPAM-Probability: X-Rspamd-Score: -7.82 / 15.00 / 15.00 X-Rspamd-Queue-Id: 20F6817BD X-Rspamd-UID: 2677f0 > Hm... This page[1] on my site includes an image that is inserted from > a relative path and there's never been a problem with it. I checked your page, https://ariadnavigo.xyz/bio, on my phone and desktop, using firefox, chrome, and safari.  Unfortunately, your profile image does not load for me.  Your site reinforces my issue, actually, that the page is trying to load: https://ariadnavigo.xyz/ari.jpg#center instead of: https://ariadnavigo.xyz/bio/ari.jpg#center > W3C's (X)HTML5 validator shows there are errors in your HTML code, Good catch with the w3c spec.  I updated the site so it now passes (except for a warning about the content-security policy): https://validator.w3.org/nu/?doc=https%3A%2F%2Fsolarpunk.cool%2Fexample but my issue persists :( On 3/7/21 10:28 PM, Ariadna Vigo wrote: > Hi! > >> As the page shows, relative links (whether for navigation, external >> stylesheets, or images) do not work as expected. Only absolute paths work. >> Also, links that open in a new tab do not work. >> >> The relative paths and links work when viewing the page locally. I also >> uploaded this folder to another site(hosted by nearlyfreespeech.net), and >> the relative paths work as expected there too: >> https://coolguy.website/example > Hm... This page[1] on my site includes an image that is inserted from > a relative path and there's never been a problem with it. > > W3C's (X)HTML5 validator shows there are errors in your HTML code, > though.[2] I think my intuition isn't far too off if I tell you the > problem seems to be that you're relying on some undefined behavior. > > Hope this helps! > > [1]: https://ariadnavigo.xyz/bio > [2]: https://html5.validator.nu/?doc=https%3A%2F%2Fsolarpunk.cool%2Fexample&showimagereport=yes >