Azure / Azure/InnovationEngine

Be line ending agnostic

Open
#195 3 comments 2 reactions 0 assignees View on GitHub
bug innovation engine
Dominant language
Go
Stars
40
Forks
27
Avg merge
2d 20h
Merged PRs (30d)
1

Description

I can't get `wget` or `curl` to work in Innovation Engine. I've tried a few different ways to download the Go tarball, but I keep getting errors. I've run all tests in a local `bash` shell.

## Test 1: Bare wget command

This test fails because IE URL-encodes the carriage return after `.gz` as `%0D` and appends it to the URL, causing a 404 error.

```bash
wget https://go.dev/dl/go1.22.2.linux-amd64.tar.gz
```

## Test 2: wget with trailing space

Even with a trailing space to avoid the carriage return encoding, this test fails with an exit code 1 (citing an invalid host name), but *after* successfully downloading the file.

## Test 3: curl

This test uses `curl` instead of `wget` to download the tarball. It fails with an exit code 3, citing an invalid URL.

```bash
curl -O https://go.dev/dl/go1.22.2.linux-amd64.tar.gz
```

## System info
**OS**: Ubuntu via WSL on Windows 11
**Arch**: x86
**Innovation Engine version**: v0.1.3

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.