Giter VIP home page Giter VIP logo

Comments (10)

schumar avatar schumar commented on July 23, 2024

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

from giggity.

Wilm0r avatar Wilm0r commented on July 23, 2024

Huh, that's pretty weird yeah :-( Guess the best fix is to get it into menu.json IOW merge #43 so people don't have to bother with any QR at all.

from giggity.

Wilm0r avatar Wilm0r commented on July 23, 2024

Ha, even here on https://fahrplan.events.ccc.de/congress/2017/Fahrplan/schedule.xml I see this:

<base_url>//fahrplan.events.ccc.de/congress/2017/Fahrplan/</base_url>

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 :-)

from giggity.

Wikinaut avatar Wikinaut commented on July 23, 2024

Anleitung für @erdgeist

Bitte diesen QR Code
qr

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.

from giggity.

Wikinaut avatar Wikinaut commented on July 23, 2024

@Wilm0r Thank you all. I informed the CCC team to fix their QR code!

from giggity.

Wikinaut avatar Wikinaut commented on July 23, 2024

@erdgeist told me, I should notify frab. Done with frab/frab#386

from giggity.

manno avatar manno commented on July 23, 2024

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.

from giggity.

mmuman avatar mmuman commented on July 23, 2024

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.

from giggity.

Wilm0r avatar Wilm0r commented on July 23, 2024

Yeah I know, see my comment above at #41 (comment) - 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?).

from giggity.

mmuman avatar mmuman commented on July 23, 2024

Indeed, there's no referrer there.

from giggity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.