mitsuhiko / platter

A useful helper for wheel deployments.
Other
335 stars 52 forks source link

Fix for processing foreign input with string.format #31

Closed RR2DO2 closed 9 years ago

RR2DO2 commented 9 years ago

If line (.rstrip()) included a format string, such as '{name}', it would cause an error in fmt.format as the arguments wouldn't be there. The proposed change only echos untrusted input and doesn't run it through string.format.