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

Auto-update fixes #12

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Auto-update fixes #12

wants to merge 4 commits into from

Conversation

zjw
Copy link
Contributor

@zjw zjw commented Jun 14, 2014

Several fixes related to auto-updates.

See the individual commit messages for specifics.

zjw added 4 commits June 14, 2014 09:14
GitHub is using new domains:

https://developer.github.com/changes/2014-04-25-user-content-security/

Although the old URL is redirected, Joomla 2.5 does not follow the
redirects (at least when using curl), so new updates are not discovered
and the search for future updates is disabled.

Current versions of J! 3.x are not affected and will follow the redirects.
When downloading an update, Joomla will follow redirects, but only if they
return a response status of 302.  The download links were returning a
status of 303.

This applies to both Joomla 2.5 and 3.x.
This shouldn't be necessary, but Joomla gives an error when "Refresh Cache"
is performed in "Extension Manager: Manage" with Xmap selected.

This applies to both Joomla 2.5 and 3.x.  In 2.5, an error is shown, but
not in 3.x.  In either case, refreshing cache causes the installed version
number to be wiped out (blank).

Because the installed version number gets wiped out, a check for updates
will find an update, even though the update version is the same as the
installed verion.
Otherwise no update will be found for Joomla 3.3.

It's a regex match.
b2un0 added a commit to z-index-net/joomla-component-mapx that referenced this pull request Aug 23, 2020
…php-upd-fixed-path-to-th-1428067024967 (pull request guilleva#12)

script.installer.php / UPD: Fixed path to the old files
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

Successfully merging this pull request may close these issues.

1 participant