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

Update #23

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

Update #23

wants to merge 72 commits into from

Conversation

k0a1a
Copy link
Owner

@k0a1a k0a1a commented Dec 4, 2021

merging dev to master

gohai and others added 30 commits August 5, 2011 21:27
This helps when all you want is to select an object.
This forces it out of editing mode, making the state of the newly cloned object more consistent.
On Chrome, changing the textarea's content does not seem to
automatically update its innerHTML. This does not seem to be
an issue for repeatedly editing a single object (as val()
stays the same), but for cloning we need to have the innerHTML
set.
added 'ctrl-z' shortcut to suggest using revisions inplace for undo
minified modified .js files,
reverted changes in config.inc.php
NOTE: 'stylesheet' module is still present regardless the planned
transition to 'code' module.
users don't need to care about removing those when updating.
removed (cheap webhosting compatibility) empty directory was not pulled in
k0a1a and others added 30 commits February 16, 2013 13:39
updated WORM url
Content-Disposition now encloses filaname in double quotes.

This is coherent with RFC 2616 19.5.1.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1
When downloading a file with a space, the Content-Disposition header is malformed
Currently, the code isn't compliant with PHP strict standards, and will raise on PHP 5.5 strict issues.

Meanwhile it's fixed, we can temporarily discard these errors.
Temporary disabled E_STRICT
Fixed base URL construction port typo
In modern servers environment, we frequently put a front-end server
to offer a cache (e.g. Varnish), load balancing or allow to isolate
application in Docker containers.

In such configurations, the responsibility to serve in TLS mode
belongs to the front-end. We need to play along and serve https://
URL, not http:// ones in such case.

The most used header (Apache, Varnish, nginx) to indicate this state
is X-Forwarded-Proto, normalised as the Forwarded HTTP Extension.

This is coherent with RFC 7239 5.4.
https://tools.ietf.org/html/rfc7239#section-5.4
Allow Hotglue to work behind a load balancer or a reverse proxy
The array_shift PHP function expects an array to manipulate,
stored in a variable. As such, it's a poor candidate to get
the first element of an array, as it will raise a strict
exception if we pass it a reference to an array instead.

We supersede array_shift by an universal function to get
the first element of any array or object which implements
the Traversable interface, kicking the iterator to pick
th first element.

Fixes #9.
Improve code documentation spelling
get_magic_quotes_gpc() is not supported in php8, so stripslashes are always executed
Update json.php for php8 support
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.

5 participants