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

Attempt to visit page not already in log breaks plugin #2

Open
CNG opened this issue Oct 25, 2015 · 0 comments
Open

Attempt to visit page not already in log breaks plugin #2

CNG opened this issue Oct 25, 2015 · 0 comments

Comments

@CNG
Copy link

CNG commented Oct 25, 2015

I installed on a new MT 6.2 using Perl 5.18.2, and attempts to visit nonexistent pages just redirected to the home page. I believe this is due to a change in a recent commit at 25b40fd#diff-de9c034f832ab2db1f5e6f670cef20aeR56

This was the original line:

if ($log->mapping) {

And it was changed to:

if ($log->mapping !~ /$target/) {

But I think it might need to be changed to:

if ($log->mapping && $log->mapping !~ /$target/) {
@CNG CNG mentioned this issue Oct 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant