rmannibucau commented on PR #14173: URL: https://github.com/apache/maven/pull/14173#issuecomment-7279995606
@cstamas some statements are wrong IMHO > we do not force anyone to switch you do since you make token more correct from an impl perspective and the only option since you dont fix httpheaders impl > Romain proposal is the breaking one IMO, as headers can go "anywhere" (markers use case) while now you want to limit headers to origin only agree it breaks as most fix of this kind so like everytime we'll get the fix and a toggle to disable it but we cant make it better doing the proper fix > httpHeaders were never ever meant for what you imply Romain true or wrong I think we shouldn't care must, 1. they are used like that since years and 2. they are semantically and from a schema perspective way more correct than token proposal which is limiting, specific and potentially semantically wrong. > All in all, I refuse to treat httpHeaders as secret, as it would be a breaking change. They are not secret and never were secret. Token is the right place for secrets, it goes into auth context just like password and everything else is. this one is 100% wrong, just have a look to gitlab doc for ex. You didn't want it to be secrets -> likely, it always hadbeen secrets -> likely. So personally I'll be on the end user side and not defend a trivial implementation choice over end user experience - and once again it is not hard to do. > Also, controls for HTTP headers were already done Not sure the point, this is not cause we did something wrong that we can't fix it (same origin point). This PR changes everything we must change to make it right so I dont see why you keep stepping back :thinking: > FYI, I find this nitpicking very counter-productive, real waste of everyone's cycles here. it is not nitpicking, you loose time and I prefer it versus making hundreds or thousands of projects loosing time for a forced migration we are not able to justify technically. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
