Fix review comments

This commit is contained in:
kaitoozawa
2025-12-15 16:32:48 +10:00
parent 3be084ade6
commit 149aeaa944
2 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@
###########################################################################################################
# ---------------------------- Start of Builder 0 - Gemset Build ------------------------------------------
FROM ruby:3.4.5-slim-bullseye AS builder
FROM ruby:3.4.7-slim-bookworm AS builder
COPY . /beef
@@ -46,7 +46,7 @@ RUN echo "gem: --no-ri --no-rdoc" > /etc/gemrc \
# ---------------------------- Start of Builder 1 - Final Build ------------------------------------------
FROM ruby:3.4.5-slim-bullseye
FROM ruby:3.4.7-slim-bookworm
LABEL maintainer="Beef Project" \
source_url="github.com/beefproject/beef" \
homepage="https://beefproject.com/"

View File

@@ -32,7 +32,7 @@ RSpec.describe 'BeEF Redirector' do
response = Curl::Easy.http_get("http://127.0.0.1:#{@port}/test/")
expect(response.response_code).to eql(302)
expect(response.body_str).to eql("302 found")
expect(response.header_str).to match(/location:\s*http:\/\/www\.beefproject\.com/i)
expect(response.header_str).to match(/^location:\s*http:\/\/www\.beefproject\.com\r?$/i)
end
end