Forum Discussion

Sinan_WONG's avatar
Sinan_WONG
Icon for Nimbostratus rankNimbostratus
Sep 10, 2024

ACCESS::session set variables are displayed as garbled characters

 

Hi everyone,

 

Use this irules to create a variable for SSO form action, but the variable displayed as garbled characters.

 

when ACCESS_ACL_ALLOWED {

ACCESS::session data set session.ha.sso.starturi [HTTP::uri]

}

 

APM log, please check the string in RED.

 

Sep 5 14:52:04 debug websso.1[22669]: 014d0052:7: /Common/apm_haportal:Common:707251ac:ssoMethod:|form-based| customLogConfigName:|| usernameSource:|session.sso.token.last.username| passwordSource:|session.sso.token.last.password| startURI:|/*| formAction:|%{session.ha.sso.starturi}| formUsername:|USER_LOGIN| formPassword:|USER_PASSWORD| formParams:|AUTH_FORM Y TYPE AUTH LOGIN_TYPE backurl %{session.ha.sso.starturi}| _successMatchType:|2| _successMatchValue:|BITRIX_AUTH_SUCCEED=Y| pua_auth_name:||

Sep 5 14:52:04 debug websso.1[22669]: 014d0052:7: /Common/apm_haportal:Common:707251ac:ctx: 0x7ffadc013480, CLIENT: TMEVT_REQUEST

Sep 5 14:52:04 debug websso.1[22669]: 014d0052:7: /Common/apm_haportal:Common:707251ac:ctx: 0x7ffadc013480, CLIENT: TMEVT_REQUEST_DONE

Sep 5 14:52:04 debug websso.1[22669]: 014d0052:7: /Common/apm_haportal:Common:707251ac:ctx: 0x7ffadc013480, CLIENT: TMEVT_SESSION_RESULT

Sep 5 14:52:04 debug websso.1[22669]: 014d0052:7: /Common/apm_haportal:Common:707251ac:ctx: 0x7ffadc013480, CLIENT: TMEVT_SESSION_RESULT

Sep 5 14:52:04 debug websso.1[22669]: 014d0052:7: /Common/apm_haportal:Common:707251ac:ctx: 0x7ffadc013480, CLIENT: TMEVT_SESSION_RESULT

Sep 5 14:52:04 debug websso.1[22669]: 014d0052:7: /Common/apm_haportal:Common:707251ac:ctx: 0x7ffadc013480, CLIENT: TMEVT_SESSION_RESULT

Sep 5 14:52:04 debug websso.1[22669]: 014d0052:7: /Common/apm_haportal:Common:707251ac:httpURI: '^Q«Õ^^±'

Sep 5 14:52:04 debug websso.1[22669]: 014d0030:7: /Common/apm_haportal:Common:707251ac: checking start uri match, configured start uri: '/*', request: '/workgroups/group/1580/disk/path/'

Sep 5 14:52:04 info websso.1[22669]: 014d0051:6: /Common/apm_haportal:Common:707251ac: start uri match found in configuration '/Common/SSO_bitrix_all' for request '/workgroups/group/1580/disk/path/'

Sep 5 14:52:04 info websso.1[22669]: 014d0015:6: /Common/apm_haportal:Common:00000000: Websso form-based authentication for user '' using config '/Common/SSO_bitrix_all'

Sep 5 14:52:04 info websso.1[22669]: 014d0067:6: /Common/apm_haportal:Common:00000000: SSO form based post submitted for user '' to URL ^Q«Õ^^±

Sep 5 14:52:04 debug websso.1[22669]: 014d0052:7: /Common/apm_haportal:Common:707251ac:ctx: 0x7ffadc005a80, SERVER: TMEVT_REQUEST

Sep 5 14:52:04 debug websso.1[22669]: 014d0052:7: /Common/apm_haportal:Common:707251ac:ctx: 0x7ffadc005a80, SERVER: TMEVT_RESPONSE

Sep 5 14:52:04 debug websso.1[22669]: 014d0052:7: /Common/apm_haportal:Common:707251ac:ctx: 0x7ffadc013480, CLIENT: TMEVT_RESPONSE

Sep 5 14:52:04 debug websso.1[22669]: 014d0052:7: /Common/apm_haportal:Common:707251ac:ctx: 0x7ffadc013480, CLIENT: TMEVT_RESPONSE_DONE

Sep 5 14:52:04 debug websso.1[22669]: 014d0052:7: /Common/apm_haportal:Common:707251ac:_ssoDisabled: false, _needAuth: true

  • The request uri is: https://x.x.x.x/workgroups/group/1580/disk/path/