---
title: "Deprecation: #80510 - ContentObjectRenderer->URLqMark"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-80510"
source: "Changelog/8.7/Deprecation-80510-ContentObjectRenderer-URLqMark.rst"
typo3-version: "8.7"
typo3-major: 8
type: "deprecation"
issue: 80510
forge: "https://forge.typo3.org/issues/80510"
tags: ["PHP-API", "Frontend"]
rendered: "2026-09-25T23:17:45+00:00"
---

# Deprecation: #80510 - ContentObjectRenderer->URLqMark {#deprecation-80510}

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

## Description {#description}

The PHP method `ContentObjectRenderer->URLqMark()` has been marked as deprecated. It was
used to add a `?` between two strings if the first one does contain a `?` already.

Its main purpose is to add query string parameters to a given URL.

## Impact {#impact}

Calling the method above will trigger a deprecation warning.

## Affected Installations {#affected-installations}

Any installation using custom extensions calling this method.

## Migration {#migration}

Implement this functionality with PHP's native `(strpos($haystack, '?') !== false ? '?' : '')`
one-liner directly.
