Resource icon

Standard Library by Xon 1.24.13

No permission to download
Xon updated Standard Library by Xon with a new update entry:

1.24.11 - Bugfix update

  • Harden add-on install batch validation to handle add-on metadata caches being out of date when evaluating if a set of add-ons's dependencies are met before an update is allowed
  • Compatibility fix for php 7.2 and known robot user-agents with a # for pre-XF2.3.11
  • Fix install/upgrade validation check for an add-on's composer directory
  • Fix 'entries per page' validation code incorrectly constructing the list of items (Effects Post Friction/Threadmarks/Who Replied add-ons)
  • Fix...

Read the rest of this update entry...
 
@Xon, I'm using a template that makes use of the redirect function.
In the output, I see something like this : form data-template-name="public:svStandardLib_redirect_interstitial"

Problem is, with guest the page does not auto redirect. For logged in users, the auto redirect works fine.
For logged in users, I see this part:
Code:
    document.addEventListener('DOMContentLoaded', () => {
        setTimeout(function(){ document.querySelector('form#autoSubmit').submit(); }, 0);
    })
However, this part seems to be missing for guests.

Not sure if this is related to this addon, and if this is intended?
 
It is intentional to help avoid bots hitting the redirect, normal guests will get the post-link behavior that interstitial only shows up if they open it in a new tab or similar
 
Just a heads-up regarding Standard Library 1.24.12 and XenForo 2.3.14.

After upgrading to XF 2.3.14, users were no longer able to log out and received the following error:

"Security error occurred. Please press back, refresh the page, and try again."

The logout POST request returns a 400 Bad Request, even though the CSRF token is present in the payload.

After spending quite some time troubleshooting Cloudflare, caching, templates and other add-ons, I finally narrowed it down to Standard Library. Disabling it immediately resolves the issue.

I suspect it's related to the changes to the logout/link-post mechanism introduced in XF 2.3.14.

Could you please have a look at this?
 
Back
Top Bottom