Unwanted line-end characters in .info.yml can break DRUPAL_PROJECTS_PATH
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3549080. -->
Reported by: [valic](https://www.drupal.org/user/980550)
Related to !409
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>During building $DRUPAL_PROJECTS_PATH for testing if is not specified, the build env is getting extra space if the .info.yml contains hidden special characters as carriage-return character</p>
<p><img src="https://www.drupal.org/files/issues/2025-09-27/Screenshot%20From%202025-09-27%2013-48-26.png" alt="character"></p>
<p>Based of slack discussion <a href="https://drupal.slack.com/archives/C223PR743/p1758966832712479">https://drupal.slack.com/archives/C223PR743/p1758966832712479</a> with @fjgarlin the problem is in<br>
<a href="https://git.drupalcode.org/project/gitlab_templates/-/blob/main/includes/include.drupalci.main.yml?ref_type=heads#L78-81">https://git.drupalcode.org/project/gitlab_templates/-/blob/main/includes/include.drupalci.main.yml?ref_type=heads#L78-81</a></p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>Run Drupal CI with file containing special character</p>
<p>Example<br>
Have character: <a href="https://git.drupalcode.org/project/geoip/-/blob/3.0.x/geoip.info.yml?ref_type=heads">https://git.drupalcode.org/project/geoip/-/blob/3.0.x/geoip.info.yml?ref_type=heads</a></p>
<p>Successful run of CI: <a href="https://git.drupalcode.org/project/geoip/-/pipelines/310181">https://git.drupalcode.org/project/geoip/-/pipelines/310181</a></p>
<p>Failed run of same file: <a href="https://git.drupalcode.org/project/geoip/-/pipelines/610389">https://git.drupalcode.org/project/geoip/-/pipelines/610389</a></p>
<p>Does not have: <a href="https://git.drupalcode.org/project/geoip/-/blob/3.x/geoip.info.yml?ref_type=heads">https://git.drupalcode.org/project/geoip/-/blob/3.x/geoip.info.yml?ref_type=heads</a></p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Run sed at the end of command to remove any non letter/numeric character</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue