[ejabberd] Flash jabber client : Howto serve cross-domain policy

cplusou-s at yahoo.fr cplusou-s at yahoo.fr
Mon Jun 9 16:54:47 MSD 2008


How is it possible to modify this script to make it works with the latest version of ejabberd_c2s.erl file ?

%%***CODE START ***
wait_for_stream({xmlstreamstart, "policy-file-request", _Attrs}, 
StateData) ->
                "<?xml version=\"1.0\"?>\n"
                "<!DOCTYPE cross-domain-policy SYSTEM 
                "       <allow-access-from domain=\"*\" to-ports=\"*\"/>\n"
        {stop, normal, StateData};
%%***CODE STOP ***
Thanks for your help

Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jabber.ru/pipermail/ejabberd/attachments/20080609/f6635350/attachment.htm 

More information about the ejabberd mailing list