Low Search - Disallowed Characters Error after search form submit
Hi there,
I am trying to use Low Search on a multi-language site (English/Japanese). I've set up a couple of collections and they seem to work fine for English searches. However, when I enter Japanese characters into the search field and submit I either get No Results or the error:
An Error Was Encountered
The URI you submitted has disallowed characters.
I am searching for words that I know are in my entries. I am using a dual language per entry approach - i.e. body_en and body_jp. Is there something within EE that is causing the error or is there anything you are aware of in Low Search that I need to change.
Here is the test code I am using:
Form;
{exp:low_search:form collection="default|projects" search_mode="any" result_page="site/low_search_results"}
<fieldset>
<label for="keywords">Keywords</label>
<input type="search" name="keywords" id="keywords" />
<button type="submit">Search</button>
</fieldset>
{/exp:low_search:form}
Results:
{exp:low_search:results query="{segment_3}" limit="10"}
{if count == 1}<ol>{/if}
<li><a href="{comment_url_title_auto_path}">{title}</a></li>
{if count == total_results}</ol>{/if}
{if no_results}No search results{/if}
{/exp:low_search:results}
Any help would be appreciated.
Thanks,
Kevin
Replies
Low 15 Jun 2011 22:47
Hi Kevin,
Can you give me an example of a URI where this happens? I think the query encoding might choke on some Japanese characters. I've already spotted such behaviour in some tests I just did. If you could give me your example, that might confirm the issue.