Signed-off-by: Axel Gembe <a...@bastart.eu.org>
---
repos-web/open/log/index.php | 2 +-
repos-web/view/log.xsl | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/repos-web/open/log/index.php b/repos-web/open/log/index.php
index 2ba2461..398a989 100644
--- a/repos-web/open/log/index.php
+++ b/repos-web/open/log/index.php
@@ -58,7 +58,7 @@ $cmd .= ' 2>&1';
header('Content-Type: text/xml');
echo('<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="'.$xslt.'"?>
-<log limit="'.$limit.'">
+<log limit="'.$limit.'" target="'.htmlspecialchars($target).'">
');
passthru($cmd);
echo('</log>
diff --git a/repos-web/view/log.xsl b/repos-web/view/log.xsl
index 7b8dead..0605b2f 100644
--- a/repos-web/view/log.xsl
+++ b/repos-web/view/log.xsl
@@ -37,7 +37,8 @@ limitations under the License.
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
- <xsl:text>repos: history</xsl:text>
+ <xsl:text>repos: history: </xsl:text>
+ <xsl:value-of select="/log/@target"/>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<!-- if search crawlers has access, contents should not be cached -->
--
1.7.1