Skip to content

Developer manual: security.rst teaches removed APIs #15692

Description

@miaulalala

prologue/security.rst still teaches removed APIs: the SQL injection section uses \OCP\DB::prepare and Mapper execute, the JavaScript section is jQuery-era with nothing on Vue / v-html, and the auth bypass section relies on OCP\JSON::checkLoggedIn(). (The directory traversal example is fixed in #15678.)

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions