Citrix Metaframe Server FTA (C:\program files (x86)\citrix\system32\iexplore.exe) doesn't parse parameters over local urls

Citrix Metaframe Server FTA (C:\program files (x86)\citrix\system32\iexplore.exe) doesn't parse parameters over local urls

book

Article ID: CTX219281

calendar_today

Updated On:

Description

This fix addresses the improper handling of command line parameters from within published desktops as in the following example: If you run "C:\Program Files (x86)\Citrix\system32\iexplore.exe" -noframemerging http://www.google.com, Internet Explorer misinterprets the parameter and resolves the URL as http://-noframemerging%20http//www.google.com. [From XA650W2K8R2X64R07][#LC3660]

Current Scenario : As per behavior observed , we are able to parse and reach the urls "C:\Program Files (x86)\Citrix\system32\iexplore.exe" -noframemerging http://www.google.com To http://google.com or any other website . But , if attempting to access a webpage saved in the format of .html / .mhtm / .htm and saved in a local or network share location and attempting to access it by : "C:\Program Files (x86)\Citrix\system32\iexplore.exe" -noframemerging C:\xyz.html xyz.html may be saved webpage for http://www.citrix.com etc , it runs into the following : http://-noframemerging%20C:\xyz.html

Applications like Epic Hyper Space , SIEMENS TeamCenter generate reports over ICA sessions which utilizes the  Citrix Metaframe Server FTA

(c:\program files (x86)\citrix\system32\iexplore.exe) 

Environment

This software application is provided to you as is with no representations, warranties or conditions of any kind. You may use and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that: (a) the software application may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the software application fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the software application. In no event should the software application be used to support ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SOFTWARE APPLICATION, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the software application.

Resolution

Replace the c:\program files (x86)\citrix\system 32\iexplore.exe with

C:\Program Files (x86)\Internet Explorer\iexplore.exe


Problem Cause

User-added image

The iexplore.exe code is as follows untill HRP07 :

424        if(NULL != StrStrI(g_wszURLForSFTA, L"http://")) 
 425        {
 426            pwszHttpNameBeg = StrStrI(g_wszURLForSFTA, L"http://");
 427        }
 428        else if(NULL != StrStrI(g_wszURLForSFTA, L"https://"))
 429        {
 430            pwszHttpNameBeg = StrStrI(g_wszURLForSFTA, L"https://");
 431        }        
 432                else 
 433                {
 434                        pwszHttpNameBeg = g_wszURLForSFTA;
 435                }

 iexplore.exe ( Citrix Metaframe Server FTA) , is not equipped to handle urls other than http , https and therefore not accepting .html , .mthm or .htm type locally or network saved  webpages.