View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - ProjeQtor API - bug with 11.2.4 - ProjeQtOr
 

ProjeQtor API - bug with 11.2.4

More
08 Jul 2024 14:25 #1 by dmichon
Hello,

For your information, we had an issue with API in the latest stable version (11.2.4).

We upgrade recently and some users had issues with "search" types queries. Search" type queries no longer take strings into account.

Request like : 
ourprojeqtor.com/api/index.php=uri=Miles...e=anycharacterstring

But integer request are working well, like :
ourprojeqtor.com/api/index.php?uri=Milestone/search/id=3000

We did a diff between an older version and we saw that a modification has been made to the "projeqtor\api\index.php" file:
--> Older version (working) : $addWhere=urldecode($split[$cpt]);

--> New version (not working properly) : $addWhere=$split[$cpt];

We had the decode to the file and it's now working well again. 

I'll let you know in order to correct the bug for users using the API.

 

Please Log in or Create an account to join the conversation.

More
08 Jul 2024 15:18 #2 by babynus
Hi,

First your syntax to call API is wrong, it should be  ourprojeqtor.com/api/Milestone/search/name=anycharacterstring
With .htaccess (provided in zio file) to convert to target uri

Then, you should indicate search/name='anycharacterstring' as it is a string

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.040 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.