I'm working on a development site where we wish to keep certain paths open so that they can receive API/services based requests. It would be great to be able to configure a list of paths to exclude from password protection.

Comments

ezra-g’s picture

Status: Active » Needs review
StatusFileSize
new1.89 KB

In my testing, this patch makes it so.

ezra-g’s picture

StatusFileSize
new1.96 KB

We need to initialize the site language first to properly process the path.

jrbeeman’s picture

Just implemented and tested this patch on a site where we needed to not have shield invoked on all paths matching /feeds/importer/* We needed to have these paths available to allow integration testing with a PubSubHubbub Hub. This patch worked great.

+1 for getting this merged in, as it allows our use case, as well as others like Services testing, feeds publishing, etc., while still keeping prying eyes out of the site.

bartezz’s picture

Status: Needs review » Reviewed & tested by the community

+1 Works like a charm, applied by hand to latest stable!

kalman.hosszu’s picture

Status: Reviewed & tested by the community » Fixed

Thanks. Tha patch was outdated but I fixed it. I committed it and mar you as the author: http://drupalcode.org/project/shield.git/commit/b84c9a6

Cheers,
Kalman

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.