Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] Adding a maximum element count to parse_qs?

martin at v.loewis.demartin at v.loewis.de
Mon Feb 13 00:32:07 CET 2012


>> No, you are missing my point. I assume you proposed (even though you>> didn't say so explicitly) that parse_qs gets an opt-in API change to>> limit the number of parameters. If that is added, it will have no>> effect on any existing applications, as they will all currently not>> pass that parameter.>> No, I said it would include a default value of (say) 1000 parameters.> That default value would be applied to anyone doesn't use the new API.> (the reason I'm proposing a new API is to allow people to change or> disable the limit, in case they really want to pass a large number of> parameters)I see. -1 on that proposal, then: there are certainly applications that willbreak with that. I don't find 1000 POST parameters a lot, and I'm sure thatpeople use that in a programmatic fashion (e.g. to mass-upload stuff).If you really think that kind of change is necessary, develop a separate patchthat people who are worried can apply.Regards,Martin


More information about the Python-Devmailing list

[8]ページ先頭

©2009-2025 Movatter.jp