[ 
https://issues.apache.org/jira/browse/MYFACES-4720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17985837#comment-17985837
 ] 

Werner Punz commented on MYFACES-4720:
--------------------------------------

So my assumption if I remove it is following, the api is init (wsUrl.... you 
now either pass it from outside as is without any remapping if you add your own 
ExternalContext encodeWebsocketURL, then you can pass http... so the fix is 
just to remove the remapping line and the associated code as is, and nothing 
else, whatever is passed is passed and other parts of the application have or 
the java codebase have to deal with it!


> WebSocket secure protocol
> -------------------------
>
>                 Key: MYFACES-4720
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4720
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 4.0.3, 4.1.1
>            Reporter: Melloware
>            Assignee: Werner Punz
>            Priority: Major
>
> [~werpu] this was reported at Mojarra: 
> https://github.com/eclipse-ee4j/mojarra/issues/5578
> I believe MyFaces has the same issue in PushImpl.ts found here
> {code:javascript}
> export module PushImpl {
>     const URL_PROTOCOL = DQ.global().location.protocol.replace("http", "ws") 
> + "//";
> {code}
> What are your thoughts?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to