Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Malformed request syntax error 400

Avatar

Level 3

Hello, when someone calls the url https://myaemsite.com/us/en/...html the response is a 400 error

Malformed request syntax

Cannot serve request to /content/myaemsite/es/...html on this server

 

I've tried adding into the dispatcher one rule as follow:

/0028 { /type "deny" /url "[\.\.]" }

 

Just for testing purposes, but nothing is working, I'm getting that error once again.

Do you know how to fix it? Thanks in advance.

1 Accepted Solution

Avatar

Correct answer by
Level 3

The problem was fixed using

/0028 { /type "deny" /url "*\.\.*" }

It covers two or more points together. 

View solution in original post

2 Replies

Avatar

Community Advisor

Can you try with , add add this as a last rule

/0028 { /type "deny" /url ".*\.\..*" }


Arun Patidar

Avatar

Correct answer by
Level 3

The problem was fixed using

/0028 { /type "deny" /url "*\.\.*" }

It covers two or more points together.