ameeuw23 / superputty

Automatically exported from code.google.com/p/superputty
0 stars 0 forks source link

Mishandling of via telnet urls from Firefox #376

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Download binary of SuperPutty version 1.4.0.4 (beta)

2.Set as default telnet client for Firefox v24.0
-Firefox Preferences /Options > Applications Tab
-The "telnet" content type point to the SuperPutty executable

3. Follow a link in this format:
telnet://REDACTED_IP_ADDRESS:2068

What is the expected output? What do you see instead?

Expected: SuperPutty should open a telnet session to the host listed on the 
port indicated.
Actual:
SuperPutty immediately prompts with the following error. After dismissing the 
error, SuperPutty continues to function, but it doesn't create the telnet 
session.

---------------------------
Application_ThreadException
---------------------------
System.ComponentModel.Win32Exception: The system cannot find the file specified

   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)

   at SuperPutty.ApplicationPanel.OnVisibleChanged(EventArgs e) in E:\projects\dotnet\superputty\1.4\SuperPutty\ctlApplicationPanel.cs:line 390

   at System.Windows.Forms.Control.AssignParent(Control value)

   at System.Windows.Forms.Control.ControlCollection.Add(Control value)

   at System.Windows.Forms.Form.ControlCollection.Add(Control value)

   at SuperPutty.ctlPuttyPanel.CreatePanel() in E:\projects\dotnet\superputty\1.4\SuperPutty\ctlPuttyPanel.cs:line 111

   at SuperPutty.ctlPuttyPanel..ctor(SessionData session, PuttyClosedCallback callback) in E:\projects\dotnet\superputty\1.4\SuperPutty\ctlPuttyPanel.cs:line 70

   at SuperPutty.ctlPuttyPanel.NewPanel(SessionData sessionData) in E:\projects\dotnet\superputty\1.4\SuperPutty\ctlPuttyPanel.cs:line 430

   at SuperPutty.SuperPuTTY.OpenPuttySession(SessionData session) in E:\projects\dotnet\superputty\1.4\SuperPutty\SuperPuTTY.cs:line 418

   at SuperPutty.SuperPuTTY.OpenSession(SessionDataStartInfo ssi) in E:\projects\dotnet\superputty\1.4\SuperPutty\SuperPuTTY.cs:line 532
---------------------------
OK   

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

What version of the product are you using? On what operating system?
Running SuperPutty version 1.4.0.4 (beta)
Running Firefox version 24.0 on Windows 7 Ent SP 1 (64 bit).

Please provide any additional information below.

Additional testing:
I attempted to change the telnet url to use the standard telnet port (which my 
device doesn't support). Regardless, SuperPutty prompted me with the same error.

I also tried using both the hostname and a IP address of the device.

I do not have an "E:\" drive, so the path referenced in the error must be 
referencing something used during compilation of the binary on someone else's 
machine.

Original issue reported on code.google.com by BenRitte...@gmail.com on 3 Oct 2013 at 1:41