Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 Oct 2009 at 20:05 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jhodgdonAgreed. watchdog() is not being called, and should be removed from the doc.
Please fix in Drupal 7 first, then backport patch to Drupal 6.
Comment #2
jhodgdonHere's some better (I think) doc for file_munge_filename().
Comment #3
MichaelCole commentedYes, patch applies on head.
Comment changes only. Seems thorough.
Watchdog was removed. Ship it!
Yeah! First patch review!
Comment #4
jim0203 commentedOverall, a pass from me. Applies fine, solves the original problem by removing reference to watchdog(), and clarifies the rest of the documentation too. I might clarify the line which reads
As it isn't immediately clear what this variable is, where it is set, etc.; but I would still pass the patch even if this line was kept as it currently is.
Comment #5
jim0203 commentedChanging status to RTBC - accidentally changed away from this as we were both reviewing at the same time.
But FWIW, shouldn't patches only be set to RTBC when they've been received two positive reviews?
Comment #6
dries commentedCommitted to CVS HEAD. Thanks!
Comment #7
jhodgdonNeeds port to Drupal 6.
Comment #8
jhodgdonHere's a patch for Drupal 6.
Comment #9
c960657 commentedThe comment doesn't address the obvious questions: When should filenames be munged? Why is “exploit.php.pps” a dangerous name? How do I choose the extensions that should not be altered?
Comment #10
jhodgdonPlease file this as a separate issue on Drupal 7. The original issue report here is that the doc mentions watchdog but shouldn't. If you think the doc needs more clarification in general, that is a separate issue.
Thanks!
Comment #11
c960657 commentedDone: #710640: Improve documentation for file_munge_filename()
Comment #12
jhodgdonSince this D6 patch sets the doc to exactly what it is in D7, and that was all approved and committed, I'm going to go ahead and set this to RTBC.
Comment #13
gábor hojtsyThanks, committed to Drupal 6.