Closed Wikinaut closed 6 years ago
I managed to add the schedule by manually entering the URL https://events.ccc.de/congress/2017/Fahrplan/schedule.xml
The QR code only says //events.ccc.de/congress/2017/Fahrplan/
, so I'm not sure if this is actually an issue with Giggity
Huh, that's pretty weird yeah :-( Guess the best fix is to get it into menu.json IOW merge https://github.com/Wilm0r/giggity/pull/43 so people don't have to bother with any QR at all.
Ha, even here on https://fahrplan.events.ccc.de/congress/2017/Fahrplan/schedule.xml I see this:
I .... guess this is a valid URL in some places, it kinda is a valid relative URL in browsers/HTML AFAIK. But I'm pretty sure a statement liket his one should have absolute URLs...
Anyway, not a Giggity bug. "Fixing" this through menu.json now. Thanks for the report anyway :-)
Anleitung für @erdgeist
Bitte diesen QR Code
mit der Url https://fahrplan.events.ccc.de/congress/2017/Fahrplan/schedule.xml
auf Deiner Seite https://events.ccc.de/congress/2017/Fahrplan/qrcode.html
platzieren.
@Wilm0r Thank you all. I informed the CCC team to fix their QR code!
@erdgeist told me, I should notify frab. Done with https://github.com/frab/frab/issues/386
This was put there intentionally, but I don't know why. Changed it to a full URL with protocol. frab should validate this in the future, maybe.
The "//..." scheme is on purpose I think, it's a protocol-relative URL, that is, it assumes to be the same protocol as the referrer. This is to avoid mixed content in web pages. We should probably prepend https: there.
Yeah I know, see my comment above at https://github.com/Wilm0r/giggity/issues/41#issuecomment-352439195 - I think it's done in some contexts where IMHO relative URLs shouldn't be valid, including the QR code for example (no context from where to support a relative URL, right?).
Indeed, there's no referrer there.
When scanning the QR code of https://events.ccc.de/congress/2017/Fahrplan/qrcode.html , I got "Fehler beim Laden".