Bug Tracker item #3418722, was opened at 2011-10-04 19:04
Message generated for change (Tracker Item Submitted) made by bphinz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3418722&group_id=254363

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: UN*X version
Group: 1.1.X
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Brian Hinz (bphinz)
Assigned to: Adam Tkac (atkac)
Summary: Embedded http server does not properly parse index.vnc

Initial Comment:
Embedded http server does not parse the sample index.vnc file correctly.  Given 
the input file:

<!-- 
     index.vnc - default HTML page for TigerVNC Java viewer applet, to be
     used with Xvnc. On any file ending in .vnc, the HTTP server embedded in
     Xvnc will substitute the following variables when preceded by a dollar:
     USER, DESKTOP, DISPLAY, APPLETWIDTH, APPLETHEIGHT, WIDTH, HEIGHT, PORT,
     PARAMS. Use two dollar signs ($$) to get a dollar sign in the generated
     HTML page.

     NOTE: the $PARAMS variable is not supported by the standard VNC, so
     make sure you have TigerVNC on the server side, if you're using this
     variable.
-->

<HTML>
<TITLE>
$USER's $DESKTOP desktop ($DISPLAY)
</TITLE>
<APPLET CODE=com.tigervnc.vncviewer.VncViewer ARCHIVE=VncViewer.jar
        WIDTH=$APPLETWIDTH HEIGHT=$APPLETHEIGHT>
<param name=PORT value=$PORT>
$PARAMS
</APPLET>
<BR>
<A href="http://www.tigervnc.org/";>TigerVNC site</A>
</HTML>

The resulting page that gets served is:

<!-- 
     index.vnc - default HTML page for TigerVNC Java viewer applet, to be
     used with Xvnc. On any file ending in .vnc, the HTTP server embedded in
     Xvnc will substitute the following variables when preceded by a dollar:
     USER, DESKTOP, DISPLAY, APPLETWIDTH, APPLETHEIGHT, WIDTH, HEIGHT, PORT,
     PARAMS. Use two dollar signs ($) to get a dollar sign in the generated
     HTML page.
 
     NOTE: the  is not supported by the standard VNC, so
     make sure you have TigerVNC on the server side, if you're using this
     variable.
--> 
 
<HTML> 
<TITLE> 
bphinz's x11 desktop (mountaineer:1)
</TITLE> 
<APPLET CODE=com.tigervnc.vncviewer.VncViewer ARCHIVE=VncViewer.jar 
        WIDTH=1024 HEIGHT=632> 
<param name=PORT value=5901> 
>
<BR> 
<A href="http://www.tigervnc.org/";>TigerVNC site</A> 
</HTML> 

Removing the "$PARAMS" line from the index.vnc file makes the page display 
properly.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3418722&group_id=254363

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to