Module: nagvis
Branch: master
Commit: 2afd0f4047d1b8122c277030cf243153c07d0e10
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=2afd0f4047d1b8122c277030cf243153c07d0e10

Author: Lars Michelsen <[email protected]>
Date:   Mon Aug 31 12:06:58 2009 +0200

Fixed problem with #87 fix

---

 share/nagvis/includes/js/nagvis.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/share/nagvis/includes/js/nagvis.js 
b/share/nagvis/includes/js/nagvis.js
index c85b7b0..18db733 100644
--- a/share/nagvis/includes/js/nagvis.js
+++ b/share/nagvis/includes/js/nagvis.js
@@ -549,6 +549,10 @@ function scrollSlow(iTargetX, iTargetY, iSpeed) {
  * @author     Lars Michelsen <[email protected]>
  */
 function escapeUrlValues(sStr) {
+       if(sStr.search('+') !== -1) {
+               sStr = sStr.replace(/\+/g, '%2B');
+       }
+       
        if(sStr.search('&') !== -1) {
                sStr = sStr.replace(/&/g, '%26');
        }


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to