
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2009 03:01 PM
In our software inventory there programs that contains characters that are not properly encoded in URLs. As such, some reports (for instance, the list of hosts where a certain software is installed) may fail due to the incorrect URL decoding.
In our case, the '+' in the Visual C++ 2005 runtime name made impossible to list the machines where the runtime is installed. The fix is easy: whenever the software name is part of an URL, it has to be encoded by calling the httputility.urlencode() function (in the specific case, myrow("software") is changed in httputility.urlencode(myrow("software")). The files I modified were it-cust.aspx, it-softcomp.aspx and it-softdetail.aspx, and I've seen that this same fix was already applied in another couple of files.
I hope this helps.
In our case, the '+' in the Visual C++ 2005 runtime name made impossible to list the machines where the runtime is installed. The fix is easy: whenever the software name is part of an URL, it has to be encoded by calling the httputility.urlencode() function (in the specific case, myrow("software") is changed in httputility.urlencode(myrow("software")). The files I modified were it-cust.aspx, it-softcomp.aspx and it-softdetail.aspx, and I've seen that this same fix was already applied in another couple of files.
I hope this helps.
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2009 09:27 PM
Which version of Lansweeper are you using, I believe this was corrected in 3.5.1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2009 08:55 PM
Lansweeper wrote:
Which version of Lansweeper are you using, I believe this was corrected in 3.5.1
Sorry for being so late, I was out of the office.
I installed a fresh version of LS 3.5.2.
