Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
this confirms my suspicion that nobody spends any time in comment.module... ;)
attached uses the proper FAPI syntax for returning a redirect.
patch is for D6, but this needs to be fixed in D5 as well...
marking as critical, because this breaks an important project module bugfix.
Comment | File | Size | Author |
---|---|---|---|
#4 | comment_return_d6_0.patch | 624 bytes | hunmonk |
#1 | comment_return_d5.patch | 617 bytes | hunmonk |
comment_return_d6.patch | 605 bytes | hunmonk | |
Comments
Comment #1
hunmonk CreditAttribution: hunmonk commentedpatch for D5.
Comment #2
dmitrig01 CreditAttribution: dmitrig01 commentedDrupal 5 looks good, but in Drupal 6, we set $form_state['redirect'], and we don't return anything
Comment #3
dmitrig01 CreditAttribution: dmitrig01 commentedComment #4
hunmonk CreditAttribution: hunmonk commentedgood catch. here's the correct patch for D6.
Comment #5
dww#1 for DRUPAL-5 and #4 for HEAD are both RTBC. Not sure I agree this is critical, but I'll leave that alone... ;) It is important for project.module, so it should definitely go in ASAP, thanks.
Comment #6
Gábor HojtsyThanks, committed to Drupal 6.x.
Comment #7
drummCommitted to 5.x.
Comment #8
(not verified) CreditAttribution: commented