• caglararli@hotmail.com
  • 05386281520

How to make the rules 920600 and 922110 dynamic to have custom charsets (custom regexp) in CRS 4 [duplicate]

Çağlar Arlı      -    20 Views

How to make the rules 920600 and 922110 dynamic to have custom charsets (custom regexp) in CRS 4 [duplicate]

There is a regexp in the rules 920600 and 922110 that (according to my opinion) accepts only 4 charsets in the Accept header. I need to make it custom, so the regexp must be modified based on my custom charsets.

I understood that in CRS 4, the regexp is created based on 4 files: (in the folder regex-assembly)

  • 920600.ra/922110-chain1.ra
  • allowed-charsets.ra
  • charset-specfication.ra
  • charset-specification-no-anchors.ra.

These files are used by crs-toolchain to create a regexp (based on my opinion). How should I modify them to contain my own charsets? must all files be modified for this purpose? what are these files?

also is it possible to cut 920600 and 922110 from base ruleset files and place them in a custom file? is the order of these rules important?