Ticket #862 (closed Defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Filerepo request fails for a uncanonized path

Reported by: jri Owned by: jri
Priority: Minor Milestone: Release 4.8
Component: DeepaMehta Standard Distribution Version: 4.7
Keywords: Cc: dgf, Malte, JuergeN
Complexity: 2 Area:
Module: deepamehta-files

Description

E.g. this request

GET /filerepo/workspace-2373/../workspace-2373/hallo.txt

fails with this cause exception:

java.lang.RuntimeException: Missing File topic for repository path "/workspace-2373/../workspace-2373/hallo.txt"

This applies only if the file repo is under access control, that is

dm4.filerepo.per_workspace=true

Change History

comment:1 Changed 5 years ago by jri

  • Status changed from new to accepted

comment:2 Changed 5 years ago by Jörg Richter <jri@…>

In 1de5d6a211921a869393be97344146320ea0af03/deepamehta:

Filerepo fix: uncanonized paths (#862).

A /filerepo request works properly if the path is not canonized, e.g.

GET /filerepo/workspace-2373/../workspace-2373/hallo.txt

See #862.

comment:3 Changed 5 years ago by jri

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.