humhub / app

18 stars 7 forks source link

App Headers missing #64

Closed luke- closed 1 year ago

luke- commented 1 year ago

@PrimozRatej Can you please check, somehow the special headers are not longer added and shown here: https://sometestproject12345.humhub.com/mobile-app/index

PrimozRatej commented 1 year ago

Occasionally, when generating a new request and trying to add headers to it, the headers do not get added. It seems that the constructor generates a hash number and verifies whether the input matches the output. This method failed to work only for partial requests, which resulted in the headers not being appended sometimes. As a solution, we now add headers to an existing request instead.