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.
When call composer command on Windows like "drush composer-manager update" Composer Manager throw exception and stop working.
I created a patch to fix that problem.
Comment | File | Size | Author |
---|---|---|---|
#2 | fix_composer_command_on_windows_2277883.patch | 649 bytes | zipme_hkt |
fix_composer_command_on_windows.patch | 1.22 KB | zipme_hkt |
Comments
Comment #1
cpliakas CreditAttribution: cpliakas commentedThanks for reporting and submitting a patch.
If I read it correctly, we are not sanitizing the directory for Windows in any way, which I feel uncomfortable with. Are there other functions we can use to ensure that we aren't passing the value as-is? Marking as needs work to discuss the issue further.
Thanks!
Chris
Comment #2
zipme_hkt CreditAttribution: zipme_hkt commentedAfter debug i find out problem is slash on windows.
i attached new path to fix that problem.
Comment #3
cpliakas CreditAttribution: cpliakas commentedAwesome! Thanks for digging in, and patch looks good to me.
Thanks for the contribution!
Chris
Comment #4
cpliakas CreditAttribution: cpliakas commentedComment #9
cpliakas CreditAttribution: cpliakas commented