Project

General

Profile

Actions

Bug #14482

closed

[SDKs] Handle "." empty directory placeholder in manifests in Ruby SDK

Added by Tom Clegg over 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
-
Release relationship:
Auto

Description

Rails API manifest validation should handle escaped characters correctly:
  • In a stream or file name, "\056" and "." are equivalent
  • Example: "0:0:\057" is not a valid file token, because "\057" is an encoding of "/"
  • Example: "0:0:foo\057/bar" is not a valid file token, because "\057" is an encoding of "/" and double slashes are not allowed

Rails API manifest validation should accept a file token with size 0 and basename ".".

Ruby SDK (Rails API + Workbench) should not present a file named "." when encountering a file token like "0:0:." or "0:0:\056".

See Keep manifest format


Subtasks 1 (0 open1 closed)

Task #14665: Review 14482-rubysdk-empty-dirResolvedLucas Di Pentima01/07/2019Actions
Actions

Also available in: Atom PDF