• Doc Or Folder URL with Special Characters will be truncated

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #13486  by kevinchang
 
Hi jllort and pavila,

Sorry for bother again.

Today I tested URL location for Doc and Folder, and I find a problem here:

If a Folder contains special char such as "&", the following part of the folder name will be truncated if I enter the URL into browser.

For example: A folder URL is like this:
Code: Select all
http://doc.arraynetworks.com.cn/OpenKM/index.jsp?fldPath=/okm:categories/Project/Product_AMP_8_3/Product & Vmware Integration

After enter it into browser:
OpenKM will prompt
failed to resolve path okm:categories/Project/Product_AMP_8_3/Product relative to node /: 'okm:categories/Project/Product_AMP_8_3/Product ' is not a valid path: Trailing slashes not allowed in prefixes and names.: 'okm:categories/Project/Product_AMP_8_3/Product ' is not a valid path: Trailing slashes not allowed in prefixes and names.
It's clear that other chars after "&" was lost.
The total URL length is 125, it doest not over the max GET length.

By the way, I remembered jllort replied a post that all URLs are in encoded format, but I see clear text in URL in my test base.
I am using Version: 5.1.9-SNAPSHOT (build: 7409)
 #13534  by pavila
 
We pass the right encoded URL to the "Copy-To-Clipboard Flash", but it replace the "+" with " ". I have made a little change and now I expect it to be ok. Please, check with the night build.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.