Grant Hollingworth
Grant Hollingworth
This is a very old issue, but in case it helps anyone: ```ruby use Rack::Rewrite do # remove trailing slashes moved_permanently %r{(/.*)/(\?.*)?$}, '$1$2' end ``` It retains query strings after...
@IvanDreamer I haven't used it, but you can pass a proc as an argument and `gsub` all the slashes there. See https://github.com/jtrupiano/rack-rewrite#arbitrary-rewriting something like: ``` moved_permanently %r{(.*)}, ->(match, env) {...
Thanks! This looks good, and I think I'll merge it with some minor changes. I'll get Hound to stand down on some of its issues – single quotes for sure....
I resolved the conflicts in my fork: https://github.com/4ormat/heroku-buildpack-apt/tree/keys buildpack: https://github.com/4ormat/heroku-buildpack-apt#keys
This is fixed in Bundler 2.5.12 and up (https://github.com/rubygems/rubygems/pull/7720)