Am 05.02.2012 12:34, schrieb Happy Melon:
> // Design idea
> //
> // In LocalSettings / DefaultSettings
> // example of a user value from e.g. LocalSettings
> // this value may be cropped at run-time
> // to suhosin.get.max_value_length (if Suhosin extension is active)
> $wgResourceLoaderMaxQueryLength = 5212;
>
>
> /* In MW core after LocalSettings */
>
> if ( extension_installed( "suhosin" ) && ini_get(
> "suhosin.get.max_value_length" ) ) {
>
> $wgResourceLoaderMaxQueryLength = min( $wgResourceLoaderMaxQueryLength,
> ini_get( "suhosin.get.max_value_length" ) );
>
> }
>
> It would make more sense to have an Extension:Suhosin which introduced
> restrictions of this kind, probably in one of the hooks just after
> LocalSettings. While this is valuable functionality to have for users of
> the suhosin patch, it's not applicable to the majority of MW installs.
>
> --HMI fully understood your points and concerns - which I also had. That's why I wanted to trigger a discussion among the core team. What do others say ?
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
