> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# sanitizeUserAgentToken

<div className="kinetica-doxygen">
  <div id="a3d9092f061ebd3e72c0f6f1db3709f6e" />

  <h2 className="memtitle"><span className="permalink"><a href="#a3d9092f061ebd3e72c0f6f1db3709f6e">◆ </a></span>sanitizeUserAgentToken()</h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname">static std::string gpudb::GPUdb::sanitizeUserAgentToken </td>
                <td>(</td>
                <td className="paramtype">const std::string &</td>
                <td className="paramname"><span className="paramname"><span className="em">value</span></span></td>
                <td>)</td>

                <td />
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel static">static</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Sanitizes a token for use in the User-Agent header by replacing disallowed characters with underscores. </p>
    </div>
  </div>
</div>
