Skip to content

Extensions and connections: ERPL skipped by extensions install/pack, allow_unsigned always on, ${VAR} and missing SQLite pass silently #278

Backlog

Description

@jrosskopf
  • ERPL: flapi extensions install --config and flapi pack --with-extensions silently skip INSTALL 'erpl' FROM 'http://get.erpl.io'. The URL repository is not matched by the regex (src/extension_installer.cpp:112), and erpl@http://get.erpl.io is refused as invalid. An offline or packed binary then still downloads erpl at startup.
  • Unsigned extensions: allow_unsigned_extensions=true is always set (src/database_manager.cpp:882), with no switch and no docs.
  • ${VAR}: it stays literal text with no warning. A load warning for ${ would be cheap, given that {{env.X}} is strict.
  • Missing SQLite: ATTACH IF NOT EXISTS of a missing SQLite file does not stop startup; the first request fails instead.
  • Init errors: redaction masks non-secret words, e.g. libadbc_driver_<redacted>.so.
  • Restricted mode: it refuses a symlinked data/ directory until the target is in allowed-directories; this is undocumented in §2.4.1.
    Found while writing and reviewing the task guides (docs: Task guides for every feature area, run in CI and aligned with flapi.io #272).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions