havenwood changed the topic of #ruby to: Ruby 3.4.4, 3.3.8, 3.5.0-preview1 https://www.ruby-lang.org | Log https://libera.irclog.whitequark.org/ruby
mange has joined #ruby
chair1 has joined #ruby
chair1 has quit [Quit: Client closed]
dante-0x has joined #ruby
inline has quit [Remote host closed the connection]
fercell has quit [Quit: ZNC - https://znc.in]
fercell has joined #ruby
inline has joined #ruby
dante-0x has quit [Ping timeout: 268 seconds]
blacknova has quit [Quit: Connection closed for inactivity]
inline has quit [Quit: Leaving]
inline has joined #ruby
oznek has joined #ruby
Fridtjof has quit [Quit: ZNC - http://znc.in]
Fridtjof has joined #ruby
ih8u2 has joined #ruby
ih8u has quit [Ping timeout: 244 seconds]
ih8u2 is now known as ih8u
Vonter has joined #ruby
ih8u2 has joined #ruby
ih8u has quit [Ping timeout: 260 seconds]
ih8u2 is now known as ih8u
pastelowl has quit [Quit: WeeChat 4.6.3]
oznek has quit [Quit: Leaving]
<ih8u> i have a page which accepts file upload which works in any case on local dev environment, but which fails in production unless the file name is already url-legal
<ih8u> what should i be doing differently?
<ih8u> bootstrap/erb/roda/puma
<ih8u> the error is returned before the request ever hits my app, but i don't know what i'm supposed to do to accept arbitrarily-named files from the outside
grenierm has joined #ruby
<ih8u> actually, the request never even makes it to puma
<ih8u> so i'm at even more of a loss as to what needs fixing here
<mange> Do you have anything in the way, like a load balancer/reverse proxy/WAF?
<ih8u> the app is behind an apache reverse proxy
<mange> Are you at least seeing it in the apache logs?
<ih8u> no
<ih8u> the apache logs are really minimal
<ih8u> i mean, i didn't configure them to be that way
<ih8u> they just are
<mange> No access logs? Just a "this request was made, this was the response code"?
<ih8u> yes, from puma
<ih8u> but like i said, the request never reaches puma
<mange> Yeah, but you're saying it's not getting to puma, so I'm asking about the Apache access logs.
<mange> Given Apache could be dropping the request, that feels relevant to check.
fantazo has joined #ruby
<ih8u> apache's log is literally just `[date]: Reloading The Apache HTTP Server.
<ih8u> [date]: Reloaded The Apache HTTP Server.`
<mange> Okay, well, I'd say you should try to answer "is Apache dropping my request?" You might need to enable more logging for that.
<mange> Could also be in the error logs? I haven't used apache for a long time, but I would have checked somewhere like /var/log/httpd/ for access/error logs.
<ih8u> well, on further testing, it actually is not strictly related to url-encoded strings, because i managed to not get the error with spaces and pounds in the title, but i do get the error with a single quote that doesn't also trigger when the quote is removed
<ih8u> also, i don't see anything in the apache access or error logs related to my thing
<ih8u> though i don't really know what i'd be looking for
<ih8u> but in neither case do i see the request i'm making that results in an error
schne1der has joined #ruby
<ih8u> the only result my browser receives in `Forbidden You don't have permission to access this resource`
<ih8u> though i did manage to get a more specific error by trying to upload a large file
<mange> Well, that error message does seem to be from Apache (based on a quick search online), if that helps.
<ih8u> i don't see it in the error log, though
R2robot has quit [Ping timeout: 276 seconds]
R2robot has joined #ruby
grenierm has quit [Ping timeout: 272 seconds]
Vonter has quit [Ping timeout: 268 seconds]
Vonter has joined #ruby
Vonter has quit [Ping timeout: 252 seconds]
Vonter has joined #ruby
TomyWork has joined #ruby
infinityfye has joined #ruby
Vonter has quit [Ping timeout: 276 seconds]
Vonter has joined #ruby
TomyLobo2 has joined #ruby
rapha has joined #ruby
<rapha> hi all!
<rapha> finally got a ruby project again at work, so i thought i'd start hanging out here again :D
<rapha> how has everyone been?
TomyLobo2 has quit [Remote host closed the connection]
TomyLobo2 has joined #ruby
TomyWork has quit [Ping timeout: 276 seconds]
TomyLobo2 is now known as TomyWork
R2robot has quit [Quit: Pull the lever, Kronk. Wrong leverrrrrrr!]
R2robot has joined #ruby
ih8u2 has joined #ruby
ih8u has quit [Ping timeout: 265 seconds]
ih8u2 is now known as ih8u
ih8u2 has joined #ruby
ih8u has quit [Ping timeout: 248 seconds]
ih8u2 is now known as ih8u
ih8u2 has joined #ruby
ih8u has quit [Ping timeout: 260 seconds]
ih8u2 is now known as ih8u
GreenResponse has joined #ruby
<mange> I've been well, thanks. :)
inline has quit [Quit: Leaving]
inline has joined #ruby
cappy has joined #ruby
<adam12> rapha: heyo!
mange has quit [Quit: Zzz...]
crespire has joined #ruby
chair1 has joined #ruby
crespire1 has quit [Ping timeout: 265 seconds]
andy-turner has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
inline has quit [Remote host closed the connection]
smp has quit [Read error: Connection reset by peer]
smp has joined #ruby
user71 has joined #ruby
tronexte has quit [Ping timeout: 260 seconds]
pages has quit [Ping timeout: 252 seconds]
tronexte has joined #ruby
inline has joined #ruby
chair1 has quit [Quit: Client closed]
chair1 has joined #ruby
chair1 has quit [Quit: Client closed]
chair1 has joined #ruby
<nakilon> are there any practices to figure out from rspec html report the command to run the specific failed test?
<nakilon> I know you can generate the failures.txt but would be cool to skip this step
<nakilon> my coworkers are used to cucumber and there they didn't have an automated list of tests at all (and --dry-run was broken) so they miss the ability to just know where the failed test is by it's file location
<nakilon> when you are the only maintainer of tests you can remember where is the one that is failed in htm report because you recognize it by name, but we need some team-friendly solution
nirvdrum741 has quit [Ping timeout: 268 seconds]
nirvdrum741 has joined #ruby
<nakilon> they also used some Allure but I don't want it
fantazo has quit [Quit: Lost terminal]
pastelowl has joined #ruby
cappy has quit [Ping timeout: 260 seconds]
johnjaye has quit [Ping timeout: 245 seconds]
schne1der has quit [Ping timeout: 248 seconds]
johnjaye has joined #ruby
chair1 has quit [Ping timeout: 272 seconds]
nirvdrum741 has quit [Ping timeout: 272 seconds]
nirvdrum7418 has joined #ruby
andy-turner_ has joined #ruby
andy-turner has quit [Read error: Connection reset by peer]
victori- has joined #ruby
victori has quit [Ping timeout: 244 seconds]
<o0x1eef> Welcome back rapha
<o0x1eef> nakilon: I have no idea but that sounds like a tough corner to code yourself into (sounds similar to errors with no backtrace)
oneeyedalien has joined #ruby
andy-turner_ has quit [Ping timeout: 260 seconds]
andy-turner has joined #ruby
dionysus69 has joined #ruby
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 268 seconds]
dionysus70 is now known as dionysus69
Vonter has quit [Ping timeout: 276 seconds]
andy-turner__ has joined #ruby
andy-turner has quit [Ping timeout: 276 seconds]
inline has quit [Remote host closed the connection]
andy-turner_ has joined #ruby
andy-turner__ has quit [Ping timeout: 252 seconds]
inline has joined #ruby
infinityfye__ has joined #ruby
infinityfye has quit [Killed (NickServ (GHOST command used by infinityfye__))]
oneeyedalien has quit [Quit: Leaving]
aindilis has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
andy-turner__ has joined #ruby
andy-turner_ has quit [Ping timeout: 260 seconds]
infinityfye__ is now known as infinityfye
andy-turner__ has quit [Read error: Connection reset by peer]
andy-turner has joined #ruby
andy-turner_ has joined #ruby
andy-turner has quit [Read error: Connection reset by peer]
andy-turner_ has quit [Read error: Connection reset by peer]
infinityfye has quit [Quit: Leaving]
johnjaye has quit [Ping timeout: 260 seconds]
andy-turner has joined #ruby
johnjaye has joined #ruby
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
dionysus70 is now known as dionysus69
aindilis has joined #ruby
<havenwood> rapha: nice, congrats on the Ruby project
blacknova has joined #ruby
schne1der has joined #ruby
andy-turner has quit [Ping timeout: 260 seconds]
andy-turner has joined #ruby
inline has quit [Quit: Leaving]
andy-turner has quit [Ping timeout: 245 seconds]
TomyWork has quit [Ping timeout: 268 seconds]
dionysus69 has quit [Ping timeout: 252 seconds]
R2robot has quit [Quit: Pull the lever, Kronk. Wrong leverrrrrrr!]
inline has joined #ruby
R2robot has joined #ruby
sweatiest has joined #ruby
tils has joined #ruby
user71 has quit [Quit: Leaving]
schne1der has quit [Ping timeout: 260 seconds]
nirvdrum7418 has quit [Ping timeout: 268 seconds]
johnjaye has quit [Ping timeout: 260 seconds]
nirvdrum741 has joined #ruby
andy-turner has joined #ruby
andy-turner has quit [Remote host closed the connection]
johnjaye has joined #ruby
<rapha> thank you, adam12, o0x1eef, havenwood :)
andy-turner has joined #ruby
<rapha> and happy to hear that, mange!
<rapha> oh, they're already gone again
<rapha> havenwood: it sounds a bit like groundhog day ("here's a ruby2.6/rails5.1 project still being used live on the internet. we think it's in good shape, but we recently had a pen test, and they told us we should really upgrade") ... but that's alright because i was wanting something i'd done before, with not too much new things to learn for a change.
tils has quit [Ping timeout: 272 seconds]
<rapha> the first looks at the source code were a little funny. "say, david, i thought tim originally wrote this?" - "yeah" - "but, isn't he supposed to be a bit of a superstar programmer?" - "huh?" - "i mean, it's just ... see this method here? why would anyone write the control flow like that unless they were drunk?" - "oh, you didn't know?" - "know what?" - "well, that tim's an alcoholic" - "oh, that
<rapha> explains that then"
andy-turner has quit [Quit: Leaving]
<o0x1eef> >_>
GreenResponse has quit [Quit: Leaving]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
blacknova has quit [Quit: Connection closed for inactivity]
eddof13 has joined #ruby
R2robot has quit [Read error: Connection reset by peer]
inline_ has joined #ruby
R2robot has joined #ruby
inline has quit [Ping timeout: 260 seconds]
eddof13 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
steinomead has quit [Remote host closed the connection]
steinomead has joined #ruby
polishdub has quit [Ping timeout: 252 seconds]
polishdub has joined #ruby
cappy has joined #ruby