Native viewer protocol URL parsing needs testing #1

Open
opened 2025-12-30 08:31:06 -07:00 by azcomputerguru · 0 comments

Description

The guruconnect:// protocol URL parsing was fixed to read the action from the host and session ID from the path, but needs end-to-end testing.

Background

  • Error was: Invalid URL: Missing session ID
  • URL format: guruconnect://view/SESSION_ID?server=...&token=...
  • Fix: url.host_str() returns view, url.path() returns /SESSION_ID

Test Cases

  1. Launch native viewer from dashboard Connect button
  2. Verify protocol handler registered correctly
  3. Verify viewer connects to correct session
  4. Test with and without token parameter

Files

  • agent/src/install.rs - parse_protocol_url() function
  • server/static/dashboard.html - launchNativeViewer() function
## Description The guruconnect:// protocol URL parsing was fixed to read the action from the host and session ID from the path, but needs end-to-end testing. ## Background - Error was: Invalid URL: Missing session ID - URL format: guruconnect://view/SESSION_ID?server=...&token=... - Fix: url.host_str() returns view, url.path() returns /SESSION_ID ## Test Cases 1. Launch native viewer from dashboard Connect button 2. Verify protocol handler registered correctly 3. Verify viewer connects to correct session 4. Test with and without token parameter ## Files - agent/src/install.rs - parse_protocol_url() function - server/static/dashboard.html - launchNativeViewer() function
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: azcomputerguru/guru-connect#1