Skip to content

WireMock.Minimal.Owin does not respect custom pathing for determining admin paths #1482

Description

@PeterBenko

Describe the bug

All the code under WireMock.Minimal.Owin relies on hard-coded request.Path.StartsWith("/__admin/") for evaluation of admin paths, instead of respecting the customizable "WireMockServerSettings.AdminPath" entry.

This most noticably leads to admin requests getting logged (with isAdminRequest=false) and in OpenTelemetry tracing.

Expected behavior:

A consistent admin path behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions