RunOnFlux / flux

Flux, Your Gateway to a Decentralized World. https://home.runonflux.io https://api.runonflux.io https://docs.runonflux.io https://source.runonflux.io https://wiki.runonflux.io
https://home.runonflux.io
GNU Affero General Public License v3.0
232 stars 309 forks source link

Bugfix - www-auth header not parsing correctly #1374

Closed MorningLightMountain713 closed 3 months ago

MorningLightMountain713 commented 3 months ago

Fix for incorrect www-authenticate header parsing. This was causing any image that had an underscore to be rejected (on register app page) as it couldn't match the repo for the authentication request.

Was missing the allowed underscore character.

Adds a test for this as well.

Tested on a live node - works fine now.