Skip to content

Fix for IE Redirect Information

Rohan requested to merge redirect_info_ie_fix into develop

Signed-off-by: kharade rohan.kharade@openairinterface.org

This PR partially fixes encoding of IE Redirect Information .
Basic URI based redirection is verified. Currently VPP-UPF supports only URI based redirection.

$ docker exec -it gnbsim-vpp curl --interface 12.1.1.2 google.com
<!DOCTYPE html>
<html>
<!--
<?xml version="1.0" encoding="UTF-8"?><WISPAccessGatewayParam xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.acmewisp.com/WISPAccessGatewayParam.xsd"><Proxy><MessageType>110</MessageType><ResponseCode>200</ResponseCode><NextURL>facebook.com</NextURL></Proxy></WISPAccessGatewayParam>
-->
   <head>
      <title>Redirection</title>
      <meta http-equiv="refresh" content="0; URL=facebook.com">
   </head>
   <body>
      Please <a href='facebook.com'>click here</a> to continue
   </body>
</html>

Screenshot_from_2023-02-21_17-47-35
redirect_smf.pcapng

* Reference :- TS 29.244, R16.0.0, Section 8.2.20.

Screenshot_from_2023-02-21_17-53-58

Merge request reports