<    March 2017    >
Su Mo Tu We Th Fr Sa  
          1  2  3  4  
 5  6  7  8  9 10 11  
12 13 14 15 16 17 18  
19 20 21 22 23 24 25  
_2_6 27 28 29 30 31
01:09 <claw> hello
01:11 <claw> i have some images to include in html. however i dont want them to be in /public as only valid session should be able to see them.
01:11 <claw> whats a good way to solve this ?
01:23 <Rennex> claw: well, a simple way would be to define a route, and check the session there, and use send_file to reply with an image file
01:24 <claw> oh yeah use that route as img src=route
01:24 <claw> did not think of that
01:26 <Rennex> yep. just make sure to check that the requested path is inside the images directory, e.g. don't allow any slashes in the paths... otherwise someone will request images/../../../../../etc/passwd and so on ;)
03:16 blackmesa joined
06:11 Takumo joined
06:11 Takumo joined
10:35 blackmesa joined
11:37 blackmesa joined
13:18 blackmesa joined
14:21 russt joined
16:14 TheChairman joined
16:14 <TheChairman> [13sinatra] 15zzak 04deleted 06fix-stable at 14c013394: 02https://github.com/sinatra/sinatra/commit/c013394
16:14 TheChairman left
16:16 TheChairman joined
16:16 <TheChairman> [13sinatra] 15zzak pushed 1 new commit to 06stable: 02https://github.com/sinatra/sinatra/commit/cc617444811c88b2bffe6e63f4a4264abf257176
16:16 <TheChairman> 13sinatra/06stable 14cc61744 15Zachary Scott: 1.4.8 changelog...
16:16 TheChairman left
16:16 TheChairman joined
16:16 <TheChairman> [13sinatra] 15zzak closed issue #1258: 1.4.8 changelog? 02https://github.com/sinatra/sinatra/issues/1258
16:16 TheChairman left
16:50 TheChairman joined
16:50 <TheChairman> [13sinatra] 15zzak closed pull request #1257: avoid logging to stderr when loading config files (06master...06fix-1142) 02https://github.com/sinatra/sinatra/pull/1257
16:50 TheChairman left
16:55 blackmesa joined
17:09 TheChairman joined
17:09 <TheChairman> [13sinatra] 15zzak pushed 4 new commits to 06master: 02https://github.com/sinatra/sinatra/compare/a97dc36dc051...7e1725f438c7
17:09 <TheChairman> 13sinatra/06master 14a159214 15Zachary Scott: Add CHANGELOG for #1218
17:09 <TheChairman> 13sinatra/06master 14f9677a8 15Zachary Scott: Add CHANGELOG for #1233
17:09 <TheChairman> 13sinatra/06master 140023e18 15Zachary Scott: Add CHANGELOG for #1245
17:09 TheChairman left
17:11 TheChairman joined
17:11 <TheChairman> [13sinatra] 15zzak 04deleted 06v2.0.0.rc1 at 145b262a9: 02https://github.com/sinatra/sinatra/commit/5b262a9
17:11 TheChairman left
17:28 TheChairman joined
17:28 <TheChairman> [13sinatra] 15zzak pushed 1 new commit to 06master: 02https://github.com/sinatra/sinatra/commit/a8d53c8bdbd0754af3b7dd5ccd306453782ef625
17:28 <TheChairman> 13sinatra/06master 14a8d53c8 15Zachary Scott: oops!
17:28 TheChairman left
17:51 TheChairman joined
17:51 <TheChairman> [13sinatra] 15zzak pushed 1 new commit to 06master: 02https://github.com/sinatra/sinatra/commit/438f7659114c96a6e7cc261f3902a65e89c426d7
17:51 <TheChairman> 13sinatra/06master 14438f765 15Zachary Scott: Use mustermann 1.0!
17:51 TheChairman left
18:13 bhaak joined
18:17 TheChairman joined
18:17 <TheChairman> [13sinatra] 15zzak tagged 06v2.0.0.rc1 at 14da12ed9: 02https://github.com/sinatra/sinatra/commits/v2.0.0.rc1
18:17 TheChairman left
18:29 TheChairman joined
18:29 <TheChairman> [13sinatra] 15zzak pushed 1 new commit to 06master: 02https://github.com/sinatra/sinatra/commit/ccd8640d892d7c70234c808136c6f57a3657e753
18:29 <TheChairman> 13sinatra/06master 14ccd8640 15Zachary Scott: Fix homepage for rack-protection and sinatra-contrib
18:29 TheChairman left
19:10 Omnilord joined
19:21 blackmesa joined
21:11 shtirlic_ joined
21:18 blackmesa joined
22:02 russt joined
22:36 blackmesa joined