SRA and AJAX portal

Have you tried the AJAX portal and found when you added SRA AJAX stopped working. Try this...

Yes. Changes are required to the ruleset to get Ajax to work with the gateway. The gateway has the following rule as part of default_ruleset.xml

<Function name="open" paramPatterns="y"/>

This rule causes XMLHttpRequest's open() to break thus preventing any Ajax operation. The fix for this is to add the following rules before the above rule in default_ruleset.xml

<Function name="\*req\*.open" paramPatterns=",y,"/>

This rule assumes that the XMLHttpRequest object will be match the \*req\* pattern. If the request object is named something else then the pattern should be modified accordingly.

Technorati Tags: ,

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

leroyk

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today