Review 9.5 Merged

68412[SECURITY] Prevent urls starting with // to be used for redirects

Oliver Hader CR +2 V +2 Easy +42 −2 updated 03/16/21, 10:00

Commit message

A missing check in GeneralUtility::sanitizeLocalUrl() resulted in
an url starting with `//` to be considered as a local url.

This change ensures, that urls starting with `//` are not considered
local. Corresponding unit tests are fixed and extended, since they
need a full environment to process correctly.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2