Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Apache dispatcher rules not rejecting /.json;%0aa.css

Avatar

Avatar
Level 1
mirza_akram
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
mirza_akram
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile
mirza_akram
Level 1

20-04-2020

I am unable to block/reject /.json;%0aa.css

The error I get in dispatcher error.log is

The given path is misformatted or contained invalid characters: Cannot map GET /.json;%0aa.css

Although I am able to block /.json as I dont get any error for this.

I used ;%0aa.css with other URLs but they went ahead without any issue.

So my question is how can I block/reject /.json;%0aa.css as it is printing some output on browser.

Dispatcher dispatcher.any
View Entire Topic

Avatar

Avatar
Validate 1
Level 2
a74048191r
Level 2

Likes

6 likes

Total Posts

17 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 5
Boost 3
View profile

Avatar
Validate 1
Level 2
a74048191r
Level 2

Likes

6 likes

Total Posts

17 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 5
Boost 3
View profile
a74048191r
Level 2

21-04-2020

@mirza_akram 

is the filter file using /glob matchers for the extensions like this?

/0041 { /type "allow" /glob "* *.css *"   }  # enable css

 

if so, try this:

/0041 { /type "allow" /extension "css"   }  # enable css

 

if that fixes the issue, the glob matchers for all the extensions can be replaced with:
/0010 { /type "allow" /extension '(css|eot|gif|ico|jpeg|jpg|js|gif|pdf|png|svg|swf|ttf|woff|woff2|html)' /path "/content/*" } ## disable this rule to allow mapped content only