[Mageia-sysadm] [290] strip tags from title

root at mageia.org root at mageia.org
Thu Jan 13 16:51:58 CET 2011


Revision: 290
Author:   rda
Date:     2011-01-13 16:51:57 +0100 (Thu, 13 Jan 2011)
Log Message:
-----------
strip tags from title

Modified Paths:
--------------
    build_system/web/index.php

Modified: build_system/web/index.php
===================================================================
--- build_system/web/index.php	2011-01-13 15:49:14 UTC (rev 289)
+++ build_system/web/index.php	2011-01-13 15:51:57 UTC (rev 290)
@@ -136,7 +136,7 @@
 <html lang="en">
 <head>
     <meta charset="utf-8">
-    <title><?php echo $title ?></title>
+    <title><?php echo strip_tags($title); ?></title>
     <meta name="robots" content="<?php echo $robots; ?>">
     <style type="text/css">
     .clear { clear: both; }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110113/27b0ad1d/attachment-0001.html>


More information about the Mageia-sysadm mailing list