Bug 57449 - Неправильный формат useragent
Summary: Неправильный формат useragent
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: firefox-config-privacy (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Alexey Gladkov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-09 21:27 MSK by Leonid Znamenok
Modified: 2026-01-09 21:27 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Znamenok 2026-01-09 21:27:43 MSK
В файле .rpm/firefox-privacy-prefs.js

```
/* Hardcode User Agent */
pref("general.useragent.override", "Mozilla/5.0 (X11; Linux x86_64 rv:@VERSION@) Gecko/20100101 Firefox/@VERSION@");
```

в секции с системной информацией пропущен разделитель после Linux x86_64. Там должен был быть знак ';'.

Корректно было бы:

```
/* Hardcode User Agent */
pref("general.useragent.override", "Mozilla/5.0 (X11; Linux x86_64; rv:@VERSION@) Gecko/20100101 Firefox/@VERSION@");
```

См: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent/Firefox