---
title: "Breaking: #101311 - Make the parameter for GeneralUtility::sanitizeLocalUrl required"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:breaking-101311-1689067519"
source: "Changelog/13.0/Breaking-101311-MakeParameterForGeneralUtilitySanitizeLocalUrlRequired.rst"
modified: "2026-09-15T10:46:36+00:00"
---

# Breaking: #101311 - Make the parameter for GeneralUtility::sanitizeLocalUrl required

See [forge#101311](https://forge.typo3.org/issues/101311)

## Description

The (only) parameter for `\TYPO3\CMS\Core\Utility\GeneralUtility::sanitizeLocalUrl()`
is now required.

## Impact

Calling `GeneralUtility::sanitizeLocalUrl()` without an argument will result
in a PHP error.

## Affected installations

Only those installations that call `GeneralUtility::sanitizeLocalUrl()`
without an argument.

The extension scanner will detect affected usages as a strong match.

## Migration

Make sure to pass an argument to `GeneralUtility::sanitizeLocalUrl()`.
