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

False positive web method identification #44

Open
daniel-beck opened this issue Aug 30, 2024 · 0 comments
Open

False positive web method identification #44

daniel-beck opened this issue Aug 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@daniel-beck
Copy link
Contributor

Reproduction steps

Methods matching the Stapler doWhatever web method naming convention, but lacking Stapler-related return type, arguments, or annotations are incorrectly (since 2.154) identified as web methods.

See e.g. https://github.com/jenkinsci/dependency-track-plugin/blob/55aec7ea2fd2efa0935b69a033d450e364225d08/src/main/java/org/jenkinsci/plugins/DependencyTrack/ApiClient.java#L452

Expected Results

void doWhatever() and similar signatures are not identified as web methods.

Actual Results

void doWhatever() and similar signatures are identified as web methods.

Anything else?

Previously known but unaddressed per

// TODO make this nicer and more comprehensive, e.g. all parameters need to have one of several annotations or be one of several types

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant