FileSystem::tempnam() should use realpath() instead of getDirectoryPath()

Created on 30 March 2025, about 1 month ago

Problem/Motivation

Spin off from 🐛 $stream_wrapper->getDirectoryPath() is used all over core, but is not defined in StreamWrapperInterface Active we identified we should be using realpath() in FileSystem::tempnam() instead of getDirectoryPath() as not all streamwrappers are local.

Steps to reproduce

Proposed resolution

Replace getDirectoryPath() with realpath() in FileSystem::tempnam()

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component

file system

Created by

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024