Any concerns with documenting the ap_trust_cgilike_cl variable in e.g.
https://httpd.apache.org/docs/2.4/env.html ?



---------- Forwarded message ---------
From: <bugzi...@apache.org>
Date: Sun, Apr 7, 2024 at 5:49 PM
Subject: [Bug 68872] New: xmlhttprequest.onprogress behavior changed
after updated to 2.4.59
To: <b...@httpd.apache.org>


https://bz.apache.org/bugzilla/show_bug.cgi?id=68872

            Bug ID: 68872
           Summary: xmlhttprequest.onprogress behavior changed after
                    updated to 2.4.59
           Product: Apache httpd-2
           Version: 2.4.59
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: All
          Assignee: b...@httpd.apache.org
          Reporter: ad...@e-blokos.com
  Target Milestone: ---

Hi Folks,

xmlhttprequest.onprogress does not work anymore since I updated to 2.4.59,
the progress bar is to zero until the end of the progress with this piece of
code in javascript that worked for more than 10 years.

xhr.onprogress = function(event){
        if(responseType == "blob"){
                if(downSockTab){
                        if(event){
                                bytesLoaded = event.loaded;
                                bytesTotal =
event.target.getResponseHeader('x-decompressed-content-length') ||
event.target.getResponseHeader('content-length') || event.total;
                                if(downSockBar){
                                        downSockBar =
document.getElementById(downSockBar.id);
                                        if(downSockBar){
                                                downSockBar.style.width =
Math.floor(bytesLoaded / bytesTotal * 200)+"px";
                                        }
                                }
                        }
                }
        }
};

any clue how to make onprogress work as before?

thanks

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



-- 
Eric Covener
cove...@gmail.com

Reply via email to