docdoku / docdoku-plm

The project purpose is to develop a comprehensive, robust open source PLM (Product LifeCycle Management) solution.
http://www.docdokuplm.com
GNU Affero General Public License v3.0
241 stars 98 forks source link

Decoding/parsing of query string for advanced search #1144

Closed ymerghoub closed 6 years ago

ymerghoub commented 6 years ago

This issue is correlated with issue []https://github.com/docdoku/docdoku-web-front/issues/50 of docdoku-web-front project. As explained there, when query string is encoded as a whole in client side, decoding/parsing in server side leads to issues like '+' char decoded into espace, confusion between '&' as param separator and '&' as included in the term to search, and so on. Furthermore, ';' and ':' must be unescaped to distinguish between these two characters as delimiters in attributes search and as characters included in terms to be searched.

Hunsu commented 6 years ago

Fixed by this https://github.com/polarsys/eplmp/commit/555cfc99455dc7d1858e5f9275b2c89a865f1364