1. 14 Feb, 2020 2 commits
    • Steven Allen's avatar
      fix: always use the naive query logic · a5191344
      Steven Allen authored
      It's a no-op if we don't need it.
      a5191344
    • Steven Allen's avatar
      fix: be explicit about key limitations · 4ca877d4
      Steven Allen authored
      Only allow keys of the form `/[0-9A-Z+-_=]`. That is, upper-case alphanumeric
      keys in the root namespace (plus some special characters).
      
      Why? We don't encode keys before writing them to the filesystem. This change
      ensures that:
      
      1. Case sensitivity doesn't matter because we only allow upper-case keys.
      2. Path separators and special characters doesn't matter.
      
      For context, go-ipfs only uses flatfs for storing blocks. Every block CID is
      encoded as uppercase alphanumeric text (specifically, uppercase base32).
      
      We could be less restrictive, but this is safer and easier to understand.
      Unfortunately, we _can't_ allow mixed case (Windows) and can't allow lowercase
      because we're already using uppercase keys.
      
      fixes #23
      4ca877d4
  2. 11 Feb, 2020 1 commit
  3. 09 Dec, 2019 1 commit
  4. 03 Dec, 2019 1 commit
  5. 02 Dec, 2019 1 commit
  6. 01 Oct, 2019 1 commit
  7. 21 Aug, 2019 1 commit
  8. 01 Mar, 2019 1 commit