Re:CVE-2019-5418 – File Content Disclosure on Rails
by tenderlove on Thursday March 21, 2019 @07:39PM
(#19458418)
Ya, that's one reason I rewrite the commit message to add the CVE. Hopefully people will view the blame before changing.
[ Parent
| on HN ]
Re:CVE-2019-5418 – File Content Disclosure on Rails
by decasia on Thursday March 21, 2019 @07:56PM
(#19458507)
I'm curious — is it not normal to add in-line explanatory comments in the Rails codebase?
I'm thinking if I were writing this code in an application, and it looked this cryptic, I might at least add a comment noting what it was for. Not that people shouldn't look in git. But inline is easier to notice, no?
Re:CVE-2019-5418 – File Content Disclosure on Rails
by riffraff on Friday March 22, 2019 @01:50AM
(#19459926)
Don't we have tests for this?
Re:CVE-2019-5418 – File Content Disclosure on Rails
by progval on Friday March 22, 2019 @04:19AM
(#19460452)
The tests are far from obvious too https://github.com/rails/rails/commit/f4c70c2222180b8d9d924f...