πŸ‡¬πŸ‡§United Kingdom @shenzhuxi

Account created on 13 October 2007, over 16 years ago
#

Recent comments

πŸ‡¬πŸ‡§United Kingdom shenzhuxi

I don't think $settings['s3fs.upload_as_private'] = TRUE is sufficient now. With this setting, all the public files, included aggregated js/css, need the token to have permission to be accessed. Users need to set up "Presigned URLs" and timing cache to make the public files accessible. It won't work with Drupal 10 because https://www.drupal.org/project/drupal/issues/3027639 πŸ“Œ Make css/js optimized assets path configurable Fixed .

I think this module should allow read access to public directory without the requirement of the token, so users can simply change the new $settings['file_public_base_url'] in Drupal 10.

πŸ‡¬πŸ‡§United Kingdom shenzhuxi

Sorry my bad... this issue is not a bug, because that's the behavior change of Drupal itself https://www.drupal.org/node/2891902 β†’ .

πŸ‡¬πŸ‡§United Kingdom shenzhuxi

I figured it out.
"Drush updb" was executed by an anonymous account and requires accessCheck(FALSE) in QueryInterface while entityTypeManager skips the permission checking.
https://www.drupal.org/node/3201242 β†’

πŸ‡¬πŸ‡§United Kingdom shenzhuxi

Hi @greg.1.anderson, the patch only works with php built-in web server when ht.router.php is in the root directory.
https://www.drupal.org/project/drupal/issues/3341324 πŸ› ht.router.php can only be used in the root directory Active patch won't fix it.

For the URL issues through years, I feel that it may be better for Drupal to stop using weird dot position in URLs and only use dot for extension name.

Production build 0.69.0 2024