Skip to content

Latest commit

 

History

History
139 lines (103 loc) · 5.63 KB

CHANGELOG.md

File metadata and controls

139 lines (103 loc) · 5.63 KB

Changelog

html2canvas-php-proxy 1.1.2

  • Fixed "ternary operator"
  • Fixed bugs and code review (1.1.1 version)
  • Fixed bug in constants (1.1.0 version)

html2canvas-php-proxy 1.0.0

  • Change constant names
  • [Security] Setup allow domains and ports
  • Droped support for php4 (and who uses it?)
  • This version range (1.0.x) will not receive new features, only fixes, the next version will be available soon.

html2canvas-php-proxy 0.2.0

  • Support for html2canvas 0.5

html2canvas-php-proxy 0.1.14

  • Fixed bug if CURL is not avaliable

html2canvas-php-proxy 0.1.13

  • Added support to CURL for improve usage in PHP 5.6
  • Organized functions

html2canvas-php-proxy 0.1.12

  • Replace 0755 to 0666 permission for backup folder (images/)

html2canvas-php-proxy 0.1.11

  • Now using camelCase in functions
  • Fixed extension SVG in saved sources

html2canvas-php-proxy 0.1.10

  • Added support to data URI scheme
  • Added support to SVG images
  • Fixed BUG (Windows servers) with dirname, If the script was located in the root folder, the dirname function had an invalid character for additional urls generated by this script.
  • json_encode_string function now has a parameter that removes the quotes from the beginning and end of the string.
  • Extra in pullrequest: pull/10 - Thanks to @jhewes

html2canvas-php-proxy 0.1.9

  • Added support to "HTTP Basic access authentication"

html2canvas-php-proxy 0.1.8

  • Removed unused vars
  • Replace tabs by spaces (size 4)
  • Added === false misses in isset()
  • Improved type
  • Removed empty($maxExec)
  • Removed unnecessary === true
  • Replace mkdir(PATH, 755) to mkdir(PATH, 0755)
  • Added detect "SSL socket stream" support (If the socket requires "SSL", but do not have suporter then shows an error, but if you do not need to "SSL", even if it is not supported, then the code will work without showing error.)
  • Removed ?> to prevent whitespace.

html2canvas-php-proxy 0.1.6 and 0.1.7 - 07.05.2014

  • Changed order of functions
  • Removed $e variable (unused) in json_encode
  • Fixed line $response = 'Failed to rename the temporary file'; ($response is array)
  • Removed incompatibility with PHP old versions (before 5.1.0) in relative2absolute
  • Added returns "blank" in relative2absolute (if scheme invalid in $m parameter)
  • Added detect problem in redirects (if you have multiple redirects)
  • Replace stripos by strpos (php4) - version 0.1.7
  • Added comparison of "socket time limit (timeout)" and "max_execution_time" (php.ini), preventing the page goes blank - version 0.1.7
  • Fixed urls like //website.com/path/../file.png to http://website.com/file.png

html2canvas-php-proxy 0.1.5 - 04.05.2014

  • Improved "typing" for better updates/pull-request
  • Converted various variables to (int)
  • Removed must-revalidate in header
  • Improved forks
  • Improved http response, If http_status<>200, return error in html2canvas
  • Fixed bug in Facebook redirect (HTTP/1.1 302 forced.302)
  • Removed unnecessary Etag-header
  • Fixed undefined variables
  • Fixed bug in json_encode_string (characters)
  • Fixed "invalid escapes" in json_encode_string
  • Improved performance in json_encode_string
  • Removed utf8_encode (unnecessary) in json_encode_string
  • Fixed bug in relative2absolute
  • downloadSource always returns array
  • Replace error_get_last by get_error
  • Added comments in functions

html2canvas-php-proxy 0.1.2 to 0.1.4 - 17.03.2014

  • Added support to javascript functions based in Objects (update to 0.1.2)
  • Fixed bug in 0.1.2 (update to 0.1.3)
  • Added support to "relative paths" (function relative2absolute) (0.1.4)
  • Added "referrer header" (if exists) (0.1.4)
  • Added "remove charset" for mime-types (eg. text/html; charset=ut8 => text/html) (0.1.4)
  • Added prefix in files created by html2canvas-php-proxy (0.1.4)
  • "remove_old_files function" removes only the files with prefix (0.1.4)

html2canvas-php-proxy 0.1.1 - 01.12.2013

  • Support for PHP 4.3
  • Replace isset($vector['var']{0}) by isset($vector['var']) && strlen($vector['var'])>0 to prevent the error Uninitialized string offset: 0
  • MAX_EXEC may not be less than 15 seconds
  • Add support to bitmap files
  • If the parameter "callback" has invalid characters then sets the variable $param_callback with JSLOG;
  • Detects if the "host:" header was set by the client
  • Remove port from $_SERVER['HTTP_HOST'] to prevent problem in the formatting of the address
  • Add function for remove old files
  • Fixed "validate" callback param

html2canvas-php-proxy 0.1.0 - 24.11.2013

  • Script completely rewritten
  • Added detection list "Content-length:" header
  • Added alternative to callback parameter (eg. The function call is console.log or alert(), if there is no callback parameter)
  • Added support for detecting max_execution_time
  • Added the use of erro_get_last()
  • Added support for "Location:" header
  • Added support for detecting 304 HTTP, return an error warning (socket does not use/send Etags)
  • Added utf8_encode to json_encode to prevent the error string becomes NULL
  • Added an error warning, if there is no the file "Content-type:" header
  • In case of HTTP 3xx response, if there is no "Location:" header, returns an error warning
  • Improved response headers from proxy (function setHeaders)
  • Improved validation http/https (function isHttpUrl)
  • Prevent warning in rename() (PHP 5.2 in CGI), because the warning return false;
  • In addition to other improvements when the script was rewritten

html2canvas-php-proxy 0.0.4 - 20.11.2013

  • Fixed tmp fileName $locationFile.$token
  • Use complete URI scheme for https