none
IAG WhlFiltSecureRemote Parser_Exception cusomization with multiple links RRS feed

  • Question

  • I am trying to add parsing for a javascript function that contains two links.

    It seems only the first link is Hatted - Any advice on how to get the parser to parse ALL the urls in the function call? Or is a Data_Change element the only choice?

    -- WhlFiltSecureRemote --

    <PARSER_EXCEPTION>
      <!-- Add parsing for new JS function -->
      <SEARCH opr_char="(" encoding="">new_js_function</SEARCH>  

    </PARSER_EXCEPTION>

     

    -- trying to parse this page contents --

    <SCRIPT LANGUAGE="JavaScript">
    <!--
    new_js_function( "url1" , "url2"  )    -- Only the first url is hatted.
    // -->

    </SCRIPT>

     

    Tuesday, February 8, 2011 8:33 PM

Answers

  • The UAG default parser is supposed to catch all the URLs in the code, even if there are within the same function. If one is not caught, there could be several reasons. One is that the URL is not built in accordance with standards, and another is that it refers to a server UAG is not recognizing (the protocol has to match too, for example - HTTP or HTTPS). Make sure the applications defined on the UAG server refer to all servers that are actually published. If this does not work, you can always use a custom AppWrap or SRA to make a manual modification. I recently published a guide to that here:

    http://blogs.technet.com/b/ben/archive/2011/05/12/appwrap-and-sra.aspx


    Ben Ari
    Microsoft CSS UAG/IAG Support
    Sammamish, WA
    • Marked as answer by Erez Benari Wednesday, May 18, 2011 9:25 PM
    Wednesday, May 18, 2011 9:25 PM