Closed Bug 1761537 Opened 2 years ago Closed 2 years ago

Revisions that contain no letters are loaded as parsed from the yaml as numbers instead of strings

Categories

(Developer Infrastructure :: Mach Vendor & Updatebot, defect)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tjr, Assigned: tjr)

Details

Attachments

(1 file)

No description provided.

I believe this is safe because from what I've been able to find
SafeLoader is FullLoader but without the bad stuff that lets you
execute arbitrary python code. We don't need (nor want) the more
comlpicated data types like 'dates' and 'numbers' so we can use
BaseLoader which does nothing except treat everything as a string.

Depends on D142125

Pushed by tritter@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2d4b2ecf631d
Use yaml BaseLoader instead of SafeLoader to ensure everything is a string r=jewilde
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: