Skip to content

Commit 18e2975

Browse files
committed
encode list titles to allow for slash
1 parent ba7fb38 commit 18e2975

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

code/gbstList.asp

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
//
77
// Series : Dovetail Software Development Series(tm)
88
//
9-
// Name : lists.asp
9+
// Name : gbstList.asp
1010
//
11-
// Description : List Viewer
11+
// Description : GBST List Viewer
1212
//
1313
// Author : Dovetail Software, Inc.
1414
// 4807 Spicewood Springs Rd, Bldg 4 Suite 200

code/hgbstList.asp

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
//
77
// Series : Dovetail Software Development Series(tm)
88
//
9-
// Name : lists.asp
9+
// Name : hgbstList.asp
1010
//
11-
// Description : List Viewer
11+
// Description : HGBST List Viewer
1212
//
1313
// Author : Dovetail Software, Inc.
1414
// 4807 Spicewood Springs Rd, Bldg 4 Suite 200

code/lists.asp

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ var udl_file = FSO.GetFile(dbConnect.replace("File Name=","").replace(/\\/g,"\\\
6666
<% while (!rsGbst.EOF) { %>
6767
<tr>
6868
<td>
69-
<% listTarget = "<a href='gbstList.asp?objid=" + rsGbst("objid") + "&title=" + rsGbst("title") + "'>" + rsGbst("title") + "</a>";
69+
<% listTarget = "<a href='gbstList.asp?objid=" + rsGbst("objid") + "&title=" + Server.URLEncode(rsGbst("title")) + "'>" + rsGbst("title") + "</a>";
7070
rw(listTarget); %>
7171
</td>
7272
</tr>
@@ -87,7 +87,7 @@ var udl_file = FSO.GetFile(dbConnect.replace("File Name=","").replace(/\\/g,"\\\
8787
<% while (!rsHgbst.EOF) { %>
8888
<tr>
8989
<td>
90-
<% listTarget = "<a href='hgbstList.asp?objid=" + rsHgbst("objid") + "&title=" + rsHgbst("title") + "'>" + rsHgbst("title") + "</a>";
90+
<% listTarget = "<a href='hgbstList.asp?objid=" + rsHgbst("objid") + "&title=" + Server.URLEncode(rsHgbst("title")) + "'>" + rsHgbst("title") + "</a>";
9191
rw(listTarget); %>
9292
</td>
9393
</tr>

0 commit comments

Comments
 (0)