You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to rfc2045 , colon is a special character and should not be in the media type. So the push command should show an error same to linux/darwin build:
> oras push localhost:5000/test:path .\KEYS:test:test:test
Error: failed to stat .KEYS:test:test: stat .KEYS:test:test: no such file or directory
The text was updated successfully, but these errors were encountered:
qweeah
changed the title
oras push/attach allows colon in media type only on Windows
oras push/attach should not allow colon in media type only on Windows
Nov 21, 2022
Using oras 0.16.0, I can use below command to upload a layer with colon in the media type on Windows:
See layers.mediatype below, this command will generate a layer with
test:test:test
as an invalid media typeAccording to rfc2045 , colon is a special character and should not be in the media type. So the push command should show an error same to linux/darwin build:
The text was updated successfully, but these errors were encountered: