Changeset 1578 for trunk


Ignore:
Timestamp:
Nov 9, 2008, 1:20:30 AM (16 years ago)
Author:
broder
Message:

Strip the whitespace from the VNC authtoken

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-web/code/main.py

    r1469 r1578  
    246246    machine = validation.Validate(username, state, machine_id=fields.getfirst('machine_id')).machine
    247247
    248     token = controls.remctl('control', machine.name, 'vnctoken')
     248    token = controls.remctl('control', machine.name, 'vnctoken').strip()
    249249    host = controls.listHost(machine)
    250250    if host:
Note: See TracChangeset for help on using the changeset viewer.