GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Federico Mena Quintero (federicomena@mstdn.mx)'s status on Thursday, 20-Jul-2023 14:15:32 JST Federico Mena Quintero Federico Mena Quintero

    So... file: URLs can have a query, like file:///foo/bar.txt?blah

    But why? Is there anything that would handle that?

    In conversation Thursday, 20-Jul-2023 14:15:32 JST from mstdn.mx permalink
    • Embed this notice
      Federico Mena Quintero (federicomena@mstdn.mx)'s status on Thursday, 20-Jul-2023 14:15:28 JST Federico Mena Quintero Federico Mena Quintero
      in reply to
      • James Henstridge

      @jamesh hehe, I haven't really learned how hostnames play with UNC paths or if they are even related.

      In conversation Thursday, 20-Jul-2023 14:15:28 JST permalink
      clacke likes this.
    • Embed this notice
      James Henstridge (jamesh@aus.social)'s status on Thursday, 20-Jul-2023 14:15:29 JST James Henstridge James Henstridge
      in reply to

      @federicomena That seems to be an evolution of generic URI syntax (https://www.rfc-editor.org/rfc/rfc3986). That is, rules designed to let you parse arbitrary URLs.

      It doesn't mean that every component is meaningful for every scheme. For instance, you could construct a file URI with a hostname that isn't empty or "localhost" and it would parse according to the generic rules, but wouldn't be meaningful.

      In conversation Thursday, 20-Jul-2023 14:15:29 JST permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        http://URLs.It/
      2. No result found on File_thumbnail lookup.
        RFC 3986: Uniform Resource Identifier (URI): Generic Syntax
    • Embed this notice
      James Henstridge (jamesh@aus.social)'s status on Thursday, 20-Jul-2023 14:15:31 JST James Henstridge James Henstridge
      in reply to

      @federicomena The query component isn't part of the syntax described in https://www.rfc-editor.org/rfc/rfc8089.html#section-2

      In conversation Thursday, 20-Jul-2023 14:15:31 JST permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        RFC 8089: The "file" URI Scheme
    • Embed this notice
      Federico Mena Quintero (federicomena@mstdn.mx)'s status on Thursday, 20-Jul-2023 14:15:31 JST Federico Mena Quintero Federico Mena Quintero
      in reply to
      • James Henstridge

      @jamesh https://url.spec.whatwg.org/#url-parsing seems to disagree 🤷♂️

      In conversation Thursday, 20-Jul-2023 14:15:31 JST permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        URL Standard
    • Embed this notice
      Wesley Moore (wezm@mastodon.decentralised.social)'s status on Thursday, 20-Jul-2023 14:15:39 JST Wesley Moore Wesley Moore
      in reply to

      @federicomena SQLite uses it https://www.sqlite.org/uri.html

      In conversation Thursday, 20-Jul-2023 14:15:39 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: www.sqlite.org
        Uniform Resource Identifiers
      clacke likes this.
    • Embed this notice
      Hubert Figuière (hub@cosocial.ca)'s status on Thursday, 20-Jul-2023 14:15:48 JST Hubert Figuière Hubert Figuière
      in reply to

      @federicomena if you open the file in a web browser, and it's html or even JS, the JS code can access the query parameters. Same with anchors `#`

      In conversation Thursday, 20-Jul-2023 14:15:48 JST permalink
      clacke likes this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.