Closed
Bug 1127598
Opened 10 years ago
Closed 7 years ago
mozGetMetadata should sanitise Ogg Vorbis fields
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: beta, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0
Build ID: 20150120004008
Steps to reproduce:
For an online podcast transcriber, added the ability for it to read metadata from ogg files, and all was good. Until we had others working on the edits, and now their tools return different cased tags for the metadata. My javascript fails…
Object { album: "SteamLUG cast" …
Object { ALBUM: "SteamLUG cast" …
etc.
Obviously I can do something to fix the data before we get it, or write a prototype to fix this before I have to fetch the fields, but I’d assume mozGetMetadata ought to do that.
http://www.xiph.org/vorbis/doc/v-comment.html suggests that fields are case-insensitive but preserving, and a-z should be considered to be A-Z.
An issue arising from this change is managing uniqueness, as fields are not unique and can repeat.
Updated•10 years ago
|
Component: Untriaged → Video/Audio
Product: Firefox → Core
Updated•10 years ago
|
Component: Audio/Video → Audio/Video: Playback
Comment 1•7 years ago
|
||
Mass closing because of inactivity.
Please feel free to re-open if still relevant.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•