Skip to content

Commit 1cd6ad0

Browse files
Lubos KoscoLubos Kosco
Lubos Kosco
authored and
Lubos Kosco
committed
bug #672 need double-quotes to specify path
1 parent 9c57ebf commit 1cd6ad0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

web/help.jsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ So searching for <b>\+1</b> or <b>\+ 1</b> will both find <b>+1</b> and <b>+ 1</
173173
<dd>Only finds symbols (e.g. methods, classes, functions, variables).</dd>
174174

175175
<dt>path</dt>
176-
<dd>path of the source file (no need to use dividers, or if, then use "/" - Windows users, "\" is an escape key in lucene query syntax! Please don't use "\", or replace it with "/".).</dd>
176+
<dd>path of the source file (no need to use dividers, or if, then use "/" - Windows users, "\" is an escape key in lucene query syntax! <br/>Please don't use "\", or replace it with "/").<br/>Also note that if you want just exact path, enclose it in "", e.g. "src/mypath", otherwise dividers will be removed and you get more hits.</dd>
177177

178178
<dt>hist</dt>
179179
<dd>History log comments.</dd>

web/mast.jsp

+2-2
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ include file="pageheader.jspf"
145145
<input type="submit" value="Search" class="submit" /></li><%
146146
Project proj = cfg.getProject();
147147
String[] vals = cfg.getSearchOnlyIn();
148-
%><li><input type="checkbox" name="path" value="<%= vals[0]
149-
%>" <%= vals[2] %>/> only in <b><%= vals[1] %></b></li>
148+
%><li><input type="checkbox" name="path" value='"<%= vals[0]
149+
%>"' <%= vals[2] %>/> only in <b><%= vals[1] %></b></li>
150150
</ul><%
151151
if (proj != null) {
152152
%>

0 commit comments

Comments
 (0)