Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: AppSec Rails should check for railties instead of rails meta gem #2293

Merged
merged 1 commit into from
Sep 28, 2022
Merged

fix: AppSec Rails should check for railties instead of rails meta gem #2293

merged 1 commit into from
Sep 28, 2022

Conversation

seuros
Copy link
Contributor

@seuros seuros commented Sep 27, 2022

As discussed in slack.
rails gem is a meta gem and should not be used to detect the presence of the rails framework.

If an application is running with stripped gem-set , the AppSec Extension fail to load with a comparison error nil >= MINIMUM_VERSION

@seuros seuros requested a review from a team September 27, 2022 18:40
Copy link
Member

@marcotc marcotc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much, @seuros!

@marcotc marcotc added bug Involves a bug community Was opened by a community member labels Sep 28, 2022
@marcotc marcotc merged commit 3bc11b3 into DataDog:master Sep 28, 2022
@github-actions github-actions bot added this to the 1.5.0 milestone Sep 28, 2022
@seuros seuros deleted the olaffix branch September 29, 2022 07:31
@lloeki
Copy link
Contributor

lloeki commented Sep 29, 2022

Hey @seuros, this change was just released in v1.5.0!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Involves a bug community Was opened by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants