unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* WwwAttach::referer_match and HTTPS
@ 2021-08-06 15:01 Leah Neukirchen
  2021-08-06 20:41 ` Eric Wong
  0 siblings, 1 reply; 5+ messages in thread
From: Leah Neukirchen @ 2021-08-06 15:01 UTC (permalink / raw)
  To: meta

Hi,

I noticed that referer_match in lib/PublicInbox/WwwAttach.pm always
fails over HTTPS on my setup as psgi.url_scheme is set to 'http' in
lib/PublicInbox/HTTPD.pm but I have a HTTPS-terminating proxy in front,
so the referer starts with "https://"
(public-inbox-1.6.1 but same in HEAD afaics.)

Did I forget to set anything, or should referer_match just accept both
http and https?

cu,
-- 
Leah Neukirchen  <leah@vuxu.org>  https://leahneukirchen.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-08 11:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-06 15:01 WwwAttach::referer_match and HTTPS Leah Neukirchen
2021-08-06 20:41 ` Eric Wong
2021-08-06 20:50   ` Leah Neukirchen
2021-08-08  1:00     ` Eric Wong
2021-08-08 11:17       ` Leah Neukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).