developmentseed / developmentseed/FeatureServer
When a project has spaces (%20) in its repository url, there are no new releases found.
- Dominant language
- PHP
- Stars
- 46
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
This is because `drush_shell_exec()` parses the arguments through sprintf. So when `sprintf` encounters %20 in the command string, it looks for the 20th argument which is obviously not there ;-).
Also see the drush api documenation on http://drupalcontrib.org/api/drupal/contributions--drush--includes--exec.inc/function/drush_shell_exec/7 which documents the parameter `$cmd`.
I submitted a pull-request which solves this: https://github.com/developmentseed/FeatureServer/pull/15.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with drush_shell_exec() and the linked pull request, using the referenced Drush API documentation to understand the documented $cmd parameter. Compare the proposed behavior for repository URLs containing %20 and verify that new releases are found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 20/100