commit 1a52b153bc51d5540d5aae35f41be593145e0b10
parent 4dd3a67b9e71e218bebabe597ecea73abf8065eb
Author: markseu <mark2011@mayberg.se>
Date: Mon, 4 Oct 2021 17:19:15 +0200
Updated edit extension for Steffen
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/system/extensions/edit.php b/system/extensions/edit.php
@@ -2,7 +2,7 @@
// Edit extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/edit
class YellowEdit {
- const VERSION = "0.8.52";
+ const VERSION = "0.8.53";
public $yellow; // access to API
public $response; // web response
public $merge; // text merge
@@ -288,7 +288,7 @@ class YellowEdit {
$statusCode = $this->yellow->processRequest($scheme, $address, $base, $location, $fileName, false);
} else {
if ($this->yellow->lookup->isRedirectLocation($location)) {
- $location = $this->yellow->lookup->isFileLocation($location) ? "$location/" : "/".$this->yellow->getRequestLanguage()."/";
+ $location = $this->yellow->lookup->getRedirectLocation($location);
$location = $this->yellow->lookup->normaliseUrl($scheme, $address, $base, $location);
$statusCode = $this->yellow->sendStatus(301, $location);
} else {
diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini
@@ -38,11 +38,11 @@ system/layouts/pagination.html: pagination.html, create, update, careful
content/shared/page-error-404.md: page-error-404.md, create, optional
Extension: Edit
-Version: 0.8.52
+Version: 0.8.53
Description: Edit your website in a web browser.
HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/edit
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/edit.zip
-Published: 2021-08-16 10:32:46
+Published: 2021-10-04 17:16:49
Developer: Datenstrom
Tag: feature
system/extensions/edit.php: edit.php, create, update