# Начиная с версии 3.6.4 Traefik не работает просмотр задач в Proxmox Backup Server (400 Bad request)

**URL:** <https://forum.samohosting.ru/t/nachinaya-s-versii-3-6-4-traefik-ne-rabotaet-prosmotr-zadach-v-proxmox-backup-server-400-bad-request/1575>\
**Category:** Traefik\
**Tags:** reverse-proxy, proxmox\
**Created:** [03.Январь.2026 14:23:36 UTC](https://forum.samohosting.ru/t/nachinaya-s-versii-3-6-4-traefik-ne-rabotaet-prosmotr-zadach-v-proxmox-backup-server-400-bad-request/1575 "2026-01-03T14:23:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KRom](https://forum.samohosting.ru/user_avatar/forum.samohosting.ru/krom/32/362_2.png) [@KRom](https://forum.samohosting.ru/u/KRom)\
**Post date:** [03.Январь.2026 14:23:36 UTC](https://forum.samohosting.ru/t/nachinaya-s-versii-3-6-4-traefik-ne-rabotaet-prosmotr-zadach-v-proxmox-backup-server-400-bad-request/1575/1 "2026-01-03T14:23:36Z")

</div>

В веб интерфейсе PBS при просмотре информации по таске получаю ошибку.

 ![image](https://forum.samohosting.ru/uploads/default/original/2X/9/97d55d57d35a01c54d257195c1a4f7f419174f49.png)

Traefik возвращает `400 Bad Request` без проксирования запроса в PBS

А в debug логах traefik наблюдается следующее сообщение

```auto
traefik | 2026-01-03T13:51:00Z DBG github.com/traefik/traefik/v3/pkg/server/router/deny.go:52 > Rejecting request because it contains encoded character %5C in the URL path: /api2/json/nodes/pbs/tasks/UPID%3Apbs%3A000000CF%3A00206C38%3A00000060%3A695876DA%3Abackup%3Abackups%5Cx3act-183%3Aroot%40pam%3A/status

```

Интересно, почему именно в debug режиме его можно получить? 🤔

Начал раскапывать и нашел вот такую штуку

> **[v3.6.4 - Traefik Migration Documentation - Traefik](https://doc.traefik.io/traefik/v3.6/migrate/v3/#v364)**
>
> This guide provides detailed migration steps for upgrading between different Traefik v3 versions. Each section covers breaking changes, deprecations, and configuration updates required for a smooth transition. | Learn the steps needed to migrate to...

Вот пример ID таски `UPID:pbs:000000CF:00206C38:00000069:6958EC8D:reader:backups\x3ahost-krom\x2dpc-69579019:client@pbs:`, в процессе HTTP запроса `\` заменяется на `%5C`  
А вот этот символ запрещен в URL начиная с traefik 4.6.4

Лечится добавлением соответствующего исключения в entrypoint глобально (как добавить для конкретного маршрута я пока не понял)

```yaml
entryPoints:
  websecure:
    address: :443
    http:
      encodedCharacters:
        allowEncodedBackSlash: true
      tls: {}

```

После чего лог выглядит так:

 ![image](https://forum.samohosting.ru/uploads/default/original/2X/c/c2a96d6533996d6ef26eb0d4c9bc948dd2bf6ee3.png)

**Полный список символов ниже (из документации)**

| Encoded Character | Character | Config option to allow the encoded character |
| --- | --- | --- |
| `%2f` or `%2F` | `/` (slash) | `entryPoints.<name>`  
`.http.encodedCharacters`  
`.allowEncodedSlash` |
| `%5c` or `%5C` | `\` (backslash) | `entryPoints.<name>.`  
`.http.encodedCharacters`  
`.allowEncodedBackSlash` |
| `%00` | `NULL` (null character) | `entryPoints.<name>.`  
`.http.encodedCharacters`  
`.allowEncodedNullCharacter` |
| `%3b` or `%3B` | `;` (semicolon) | `entryPoints.<name>.`  
`.http.encodedCharacters`  
`.allowEncodedSemicolon` |
| `%25` | `%` (percent) | `entryPoints<name>.`  
`.http.encodedCharacters`  
`.allowEncodedPercent` |
| `%3f` or `%3F` | `?` (question mark) | `entryPoints.<name>.`  
`.http.encodedCharacters`  
`.allowEncodedQuestionMark` |
| `%23` | `#` (hash) | `entryPoints.<name>.`  
`.http.encodedCharacters`  
`.allowEncodedHash` |

---

<div class="post-metadata">

**Author:** ![KRom](https://forum.samohosting.ru/user_avatar/forum.samohosting.ru/krom/32/362_2.png) [@KRom](https://forum.samohosting.ru/u/KRom)\
**Post date:** [15.Январь.2026 09:57:06 UTC](https://forum.samohosting.ru/t/nachinaya-s-versii-3-6-4-traefik-ne-rabotaet-prosmotr-zadach-v-proxmox-backup-server-400-bad-request/1575/2 "2026-01-15T09:57:06Z")

</div>

Вышла версия 3.6.7 с [откатом](https://doc.traefik.io/traefik/v3.6/migrate/v3/#v367) этого функционала

| Encoded Character | Character | Config options | Default value |
| --- | --- | --- | --- |
| `%2f` or `%2F` | `/` (slash) | `entryPoints.<name>`  
`.http.encodedCharacters`  
`.allowEncodedSlash` | `true` |
| `%5c` or `%5C` | `\` (backslash) | `entryPoints.<name>.`  
`.http.encodedCharacters`  
`.allowEncodedBackSlash` | `true` |
| `%00` | `NULL` (null character) | `entryPoints.<name>.`  
`.http.encodedCharacters`  
`.allowEncodedNullCharacter` | `true` |
| `%3b` or `%3B` | `;` (semicolon) | `entryPoints.<name>.`  
`.http.encodedCharacters`  
`.allowEncodedSemicolon` | `true` |
| `%25` | `%` (percent) | `entryPoints.<name>.`  
`.http.encodedCharacters`  
`.allowEncodedPercent` | `true` |
| `%3f` or `%3F` | `?` (question mark) | `entryPoints.<name>.`  
`.http.encodedCharacters`  
`.allowEncodedQuestionMark` | `true` |
| `%23` | `#` (hash) | `entryPoints.<name>.`  
`.http.encodedCharacters`  
`.allowEncodedHash` | `true` |

Теперь блокировка по-умолчанию выключена, но ее можно включить принудительно, например, так

```auto
entryPoints:
  websecure:
    address: :443
    http:
      encodedCharacters:
        allowEncodedBackSlash: false

```
