CARVIEW |
Select Language
HTTP/2 200
cache-control: max-age=0, private, must-revalidate
content-type: text/html; charset=utf-8
etag: W/"199879943d64cd2716b910b0bb2a653c"
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=3j5fVxPu04Zq5XljN%2FR6IXkvhGQCtsKX9Q%2Badp1wgJs%3D\u0026sid=e11707d5-02a7-43ef-b45e-2cf4d2036f7d\u0026ts=1753252752"}],"max_age":3600}
reporting-endpoints: heroku-nel="https://nel.heroku.com/reports?s=3j5fVxPu04Zq5XljN%2FR6IXkvhGQCtsKX9Q%2Badp1wgJs%3D&sid=e11707d5-02a7-43ef-b45e-2cf4d2036f7d&ts=1753252752"
server: Heroku
set-cookie: _redmine_session=bEJyVXBYc0VMMVk5Ri9PR3JmbUpEcG9Ub092RGd0SjVXQWFqcnloY1pmS0MrZWl2bkE1YUx5SXJ3Qysvb1dmak5GY0J3RkFYeVFEdDl0bkExZ0FTZXNZTFIyREhlRmtNVjNXQnFWZnRlMkx2UXVkUXF0TXllbGd3RThxWGkySTU4YVFyWFpURDgyd2lvZlNveGZLelA3WnZPNU90QVRRY3FMZHBMMURZSW5NMVVydTk4QlVUQ3dFQkIweU1rWHVaLS1LbVVFVThod29IUjJUbUxIMktWZ1N3PT0%3D--d778760432380973dc8887fbc68a640e3382139c; 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: 7b87edb2-5239-bf97-5436-46cbdec1a8e0
x-runtime: 0.124116
x-xss-protection: 1; mode=block
content-length: 31313
date: Wed, 23 Jul 2025 06:39:12 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) 2 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) 2 months ago
ยท Edited
- Subject changed from Namespaces leak with permanent names to Namespaces leak with Module.nesting
Updated by Eregon (Benoit Daloze) 2 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...