Ticket #1076 (closed Defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Accesscontrolfilter adds trailing slash

Reported by: JuergeN Owned by: jri
Priority: Major Milestone: Release 4.8.7
Component: DeepaMehta Standard Distribution Version: 4.8.6
Keywords: Cc:
Complexity: 3 Area: Application Framework / API
Module: deepamehta-accesscontrol

Description (last modified by JuergeN) (diff)

When I configure the access control filter in the config file, e.g. to allow /sing-up:

dm4.security.anonymous_read_allowed = /sign-up

a trialing slash is added programmitacally before the internal validation.
As a result calling http://my.domain.tld/sign-up will not work, because it does not match /sign-up/.

Change History

comment:1 Changed 8 years ago by JuergeN

  • Description modified (diff)

comment:2 Changed 8 years ago by jri

  • Status changed from new to accepted

comment:3 Changed 8 years ago by jri

In https://github.com/jri/deepamehta/commit/e3055fac:

Access filter doesn't add / to paths (#1076)

See #1076

comment:4 Changed 8 years ago by jri

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.