CARVIEW |
Select Language
HTTP/2 200
cache-control: max-age=0, private, must-revalidate
content-type: text/html; charset=utf-8
etag: W/"9e4c86b51378f8df75b8a523027aa5b9"
nel: {"report_to":"heroku-nel","response_headers":["Via"],"max_age":3600,"success_fraction":0.01,"failure_fraction":0.1}
referrer-policy: strict-origin-when-cross-origin
report-to: {"group":"heroku-nel","endpoints":[{"url":"https://nel.heroku.com/reports?s=8T3AS7paEBFxt6EIDdAA%2FX%2BVAiaYS7cjKXVSnyUqau4%3D\u0026sid=e11707d5-02a7-43ef-b45e-2cf4d2036f7d\u0026ts=1753365616"}],"max_age":3600}
reporting-endpoints: heroku-nel="https://nel.heroku.com/reports?s=8T3AS7paEBFxt6EIDdAA%2FX%2BVAiaYS7cjKXVSnyUqau4%3D&sid=e11707d5-02a7-43ef-b45e-2cf4d2036f7d&ts=1753365616"
server: Heroku
set-cookie: _redmine_session=VmFPOFVxakxBcHVjUXo5b0xDK0M5a3lIdWhUUnZnNkVvWmVjYlNicXNTYS9OYnBoNHhFUjIzYW5wUnVUYUk0dkg4NlNQQXpnMGt6TFZud1RvTWVIWU4yZ2wxRXlIakdHSTdQNSszdER1dFB6WkFwVHM2K05BTE9KRjVxNlpnMC9GRnQ0NHJ6SzRtaWdDZERya3NnZE1ibDI3UjB1Z2tTQjdCY0REbytHa0IvZ3RYRkR3MktxMHZhVGxka2dsbTZmLS1Gd2VKb1IyT2tEMWRjZnhtSGVWb0V3PT0%3D--3b645407cea78d8ae4dbcb43b56c0e6b7bcfddef; path=/; secure; httponly; samesite=lax
strict-transport-security: max-age=63072000; includeSubDomains
vary: Accept
via: 2.0 heroku-router
x-content-type-options: nosniff
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-request-id: de6a3dc9-0232-ba5d-5909-8f7606ac7c43
x-runtime: 0.104605
x-xss-protection: 1; mode=block
content-length: 31313
date: Thu, 24 Jul 2025 14:00:16 GMT
Bug #21318: Namespaces leak with Module.nesting - Ruby - Ruby Issue Tracking System
Project
General
Profile
Tags
Custom queries
Actions
Bug #21318
openNamespaces leak with Module.nesting
Added by fxn (Xavier Noria) 3 months ago. Updated about 2 months ago.
Description
Namespaces are not transparent for this program:
Module.nesting
The nesting is empty or not depending on whether it is being executed under a namespace.
Updated by fxn (Xavier Noria) 3 months ago
ยท Edited
- Subject changed from Namespaces leak with permanent names to Namespaces leak with Module.nesting
Updated by Eregon (Benoit Daloze) 3 months ago
Complete reproducer:
$ RUBY_NAMESPACE=1 ruby -ve 'p Module.nesting; ns = Namespace.new; File.write "ns.rb", "p Module.nesting"; ns.require "./ns"'
ruby 3.5.0dev (2025-05-10T07:50:29Z namespace-on-read-.. bd4f57f96b) +PRISM [x86_64-linux]
ruby: warning: Namespace is experimental, and the behavior may change in the future!
See doc/namespace.md for know issues, etc.
[]
[#<Namespace:24,user,optional>]
Actions
Like0
Like0Like0Like0
Powered by Redmine © 2006-2025 Jean-Philippe Lang
Loading...