Skip to content

Case sensitivity #10

@minos314

Description

@minos314

Hi,

Is there a specific reason why the stringmap matching in CoreLogic works NOT case sensitive? If the backend server treats paths case sensitive this could be unwanted behaviour to pass requests through.

`

FULL - LAN

add policy expression PE_CL1009_HTTP_CS_FULL_LAN_KEY "(HTTP.REQ.CS_VSERVER.NAME + ";lan;" + HTTP.REQ.HOSTNAME.SERVER + HTTP.REQ.URL.PATH).TO_LOWER"
add policy expression PE_CL1009_HTTP_CS_FULL_LAN_KEY_EXISTS "((HTTP.REQ.CS_VSERVER.NAME + ";lan;" + HTTP.REQ.HOSTNAME.SERVER + HTTP.REQ.URL.PATH).TO_LOWER.IS_STRINGMAP_KEY("SM_CL1009_CS_CONTROL"))"
add policy expression PE_CL1009_HTTP_CS_FULL_LAN_VALUE_DST "(HTTP.REQ.CS_VSERVER.NAME + ";lan;" + HTTP.REQ.HOSTNAME.SERVER + HTTP.REQ.URL.PATH).TO_LOWER.MAP_STRING("SM_CL1009_CS_CONTROL").AFTER_STR("dst=").BEFORE_STR(";")"
add policy expression PE_CL1009_HTTP_CS_FULL_LAN_VALUE_VS "(HTTP.REQ.CS_VSERVER.NAME + ";lan;" + HTTP.REQ.HOSTNAME.SERVER + HTTP.REQ.URL.PATH).TO_LOWER.MAP_STRING("SM_CL1009_CS_CONTROL").AFTER_STR("vs=").BEFORE_STR(";")"
add policy expression PE_CL1009_HTTP_NO_SERVICE_SWITCH_FULL_LAN_KEY_EXISTS "((HTTP.REQ.CS_VSERVER.NAME.BEFORE_STR_ANY("PS_CL1009_NAME_PROTOCOLS") + "_ssl;lan;" + HTTP.REQ.HOSTNAME.SERVER + HTTP.REQ.URL.PATH).TO_LOWER.IS_STRINGMAP_KEY("SM_CL1009_CS_CONTROL"))"
`

Do you see any problems if we try to change our CoreLogic to case sensitive? It seems that the multiple TO_LOWER expressions are the only thing to remove.

Thanks,
Simon

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions