Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Accented characters in path #40

Open
GoogleCodeExporter opened this issue Apr 10, 2015 · 0 comments
Open

Accented characters in path #40

GoogleCodeExporter opened this issue Apr 10, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

*What steps will reproduce the problem?
1. Configure the connector for a file system containing accented characters 
(ex. éèàê).
2. The display URL in search results are invalid.

*What is the expected output? What do you see instead?
The display URL appears invalid : 
file://HOSTNAME/Réponse/Reponse_références.ppt
it should appears as : 
file://HOSTNAME/Réponse/Reponse_références.ppt

*What version of the product are you using? On what operating system?
Branches 2.6.x and 2.8.x are affected on Windows 64-bits.

*Please provide any additional information below.
We use your connector through an external API (not the Google Search 
Appliance). 
It is possible that the Google Search Appliance re-converts the URL, but the 
display URL is still invalid when it exits the connector manager.

The conversion is done by this method : 
SmbReadonlyFile.getDisplayUrl()
=> displayUri.toASCIIString()

I've fixed the issue by replacing the line with : 
=> displayUri.toString()

Regards, 

Nicolas

Original issue reported on code.google.com by [email protected] on 6 Jul 2012 at 9:28

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant