.MD

Copy the markdown below:

ActiveRecord::RecordNotFound

app/controllers/categories_controller.rb:3

Couldn't find Category with 'id'="////.env"

Backtrace

app/controllers/categories_controller.rb:3:in 'CategoriesController#show'
lib/middleware/malicious_path_blocker.rb:45:in 'Middleware::MaliciousPathBlocker#call'

Request

Name CategoriesController#show
Method GET
URL https://whyruby.info/%2F%2F%2F%2F%2Eenv
Browser Unknown Browser

Parameters

{
  "id": "////.env",
  "action": "show",
  "controller": "categories"
}

Headers

Host whyruby.info
Accept */*
X-Host 127.0.0.1
X-Real-Ip 127.0.0.1
User-Agent curl/8.7.1
X-Forwared 127.0.0.1
X-Client-Ip 127.0.0.1
X-Request-Id f6c9dc06-4b69-4cff-9d90-b2c70cd778ab
True-Client-Ip 127.0.0.1
X-Kamal-Target 53d4cf1bf76f:80
Accept-Encoding gzip
Accept-Language en-US,en;q=0.9
X-Forwarded-For 185.177.72.70, 172.18.0.3
X-Request-Start t=1777423338878
X-Sendfile-Type X-Sendfile
X-Azure-Clientip 127.0.0.1
X-Azure-Socketip 127.0.0.1
X-Forwarded-Host whyruby.info
X-Forwarded-Port 443
X-Originating-Ip 127.0.0.1
X-Forwarded-Proto https

Context

controller
#<CategoriesController:0x00007e01e52d6b98>

Environment

os Linux 6.8.0-106-generic
cwd /rails
pid 24
host whyruby.info-1a9c2d0bc983
ruby ruby 4.0.1 (2026-01-13 revision e04267a14b) +YJIT +PRISM [x86_64-linux]
rails 8.2.0.alpha
revision 52a23b1a3a2dc0c2ebc3e12cb7a33d0698be4084

Server

Load CPU RAM Swap Disk
whyruby.info-1a9c2d0bc983 Load avg 19% CPU 16% RAM 92% Swap 95% Disk 59%

Deployments 1

52a23b1a3a2dc0c2ebc3e12cb7a33d0698be4084 15 Apr 07:58