New We are sorting MAX channels into categories and territories. Read the news
403 от Azure Application Gateway обходится через ?x=.js — video, channel “Похек” ▶ video

403 от Azure Application Gateway обходится через ?x=.js



Ловишь 403 Forbidden с подписью Microsoft-Azure-Application-Gateway/v2? Допиши в query подстроку .js: /utility?x=.js → 200. Работают и ?.css, ?.jsp, ?.jstxt, а ?js и ?.txt дают 403.

Вероятная причина — кастомное WAF-правило Allow для статики, которое ищет .js/.css во всём RequestUri вместе с query. Allow в Azure WAF пропускает все остальные правила, включая managed. Чинится на стороне сайта: проверять расширение только в пути.

Доп инфа: X тред доки

@poxek | @poxek_ai | MAX | merch.shop
Views: 159
Open in MAX Report an inaccuracy

Report an inaccuracy

Describe what needs fixing. If you have a source, add a link.

You are leaving datool.ru

The link leads to an external website. datool.ru is not responsible for its content — check the address before entering passwords or payment details.

Redirecting in 10 s

Go