Skip to content

Bug? cant copy file /tmp/phpBlablabla #13

@maxyc

Description

@maxyc

League\Flysystem\FileNotFoundException
File not found at path: tmp/phpkiLfKz

public function copy($path, $newpath)
    {
        $path = Util::normalizePath($path);  // <-- bug here
        $newpath = Util::normalizePath($newpath);
        $this->assertPresent($path);
        $this->assertAbsent($newpath);

        return $this->getAdapter()->copy($path, $newpath);
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions