Skip to content

[Finder] Checking existence of file in DateRangeFilterIterator doesn't work properly with FTP #16429

Closed
@davidkmenta

Description

@davidkmenta

Hi!

SplFileInfo::getRealPath function returns false if file does not exist and apparently it also returns false for FTP path (eg: "ftp://username:password@hostname/filename.xml") even if file exists.
It could be probably fixed by using SplFileInfo::getPathname function instead.

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