Ignore:
Timestamp:
06/21/10 10:33:40 (11 years ago)
Author:
sc
Message:

client_thinkgear:

  • graceful handling of non-JSON replies

configuration:

  • NULL byte termination for Flash socket handling

server_thinkgear:

  • NULL byte termination for Flash socket policy file request
File:
1 edited

Legend:

Unmodified
Added
Removed
  • remote_control/puzzlebox_brainstorms_configuration.py

    r55 r56  
    190190##################################################################### 
    191191 
    192 FLASH_POLICY_FILE_REQUEST = '<policy-file-request/>' 
     192FLASH_POLICY_FILE_REQUEST = \ 
     193        '<policy-file-request/>%c' % 0 # NULL byte termination 
    193194FLASH_SOCKET_POLICY_FILE = '''<?xml version="1.0"?> 
    194195<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd"> 
    195196<cross-domain-policy> 
    196    <site-control permitted-cross-domain-policies="master-only" /> 
     197   <site-control permitted-cross-domain-policies="all" /> 
    197198   <allow-access-from domain="*" to-ports="%i" /> 
    198 </cross-domain-policy> 
    199 ''' % THINKGEAR_SERVER_PORT 
     199</cross-domain-policy>%c''' % (THINKGEAR_SERVER_PORT, 0) 
    200200 
    201201##################################################################### 
Note: See TracChangeset for help on using the changeset viewer.