Nomad-UI: ® is replaced by ® in logs
- Dominant language
- Go
- Stars
- 17k
- Forks
- 2.1k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 105
Description
### Nomad version
1.3.5
### Operating system and Environment details
Linux, Fedora release 29
### Issue
When viewed in nomad-ui, the string `®` is being replaced by ® character in allocation logs.
### Reproduction steps
Run the job file included below. In nomad-ui navigate to allocation logs and inspect them. You'll see this:

#### Expected Result
The log content should be rendered literally. `®` should display as `®`.
#### Actual Result
`®` is being replaced by ® character.
### Job file (if appropriate)
```
job "test" {
group "test" {
task "test" {
driver = "docker"
config {
image = "alpine"
command = "echo"
args = [
"blabla®ion=us",
]
}
}
}
}
```
### Notes
Issue reproduced on both chrome and firefox.
`nomad alloc logs` works fine.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in the Nomad-UI allocation logs view and reproduce the issue with the provided job file in Chrome or Firefox. Trace how the log content is rendered, then verify that the literal string ® remains ® in the browser while nomad alloc logs continues to work as expected.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100