appirio-tech / connect-app

Build your next project on Connect with the power of crowdsourcing
https://connect.topcoder.com
44 stars 140 forks source link

[Project Service] 500 server error while searching a project name with special characters #3867

Open codejamtc opened 4 years ago

codejamtc commented 4 years ago

Expected behavior

Should not display a server error

Actual behavior

500 server error while searching a project name with special characters

main.22d51792a5c88e848e51.js:130 GET https://api.topcoder-dev.com/v5/projects/?fields=id,name,description,members,invites,status,type,actualPrice,estimatedPrice,createdAt,updatedAt,createdBy,updatedBy,details,lastActivityAt,lastActivityUserId,version,templateId&sort=lastActivityAt+desc&perPage=20&page=1&name=*Ticket-3809%7Bcodejam%7D+Edited* 400
(anonymous) @ main.22d51792a5c88e848e51.js:130
e.exports @ main.22d51792a5c88e848e51.js:130
Promise.then (async)
e.exports @ main.22d51792a5c88e848e51.js:223
Promise.then (async)
c.request @ main.22d51792a5c88e848e51.js:223
c.<computed> @ main.22d51792a5c88e848e51.js:223
(anonymous) @ main.22d51792a5c88e848e51.js:130
t.getProjects @ main.22d51792a5c88e848e51.js:162
(anonymous) @ main.22d51792a5c88e848e51.js:28
t @ main.22d51792a5c88e848e51.js:17
f @ main.22d51792a5c88e848e51.js:28
(anonymous) @ main.22d51792a5c88e848e51.js:28
(anonymous) @ main.22d51792a5c88e848e51.js:192
(anonymous) @ main.22d51792a5c88e848e51.js:223
(anonymous) @ main.22d51792a5c88e848e51.js:192
value @ main.22d51792a5c88e848e51.js:223
value @ main.22d51792a5c88e848e51.js:282
b @ main.22d51792a5c88e848e51.js:28
C @ main.22d51792a5c88e848e51.js:28
_ @ main.22d51792a5c88e848e51.js:28
setTimeout (async)
(anonymous) @ main.22d51792a5c88e848e51.js:28
w @ main.22d51792a5c88e848e51.js:28
(anonymous) @ main.22d51792a5c88e848e51.js:282
e.notifyAll @ main.22d51792a5c88e848e51.js:130
close @ main.22d51792a5c88e848e51.js:28
closeAll @ main.22d51792a5c88e848e51.js:28
perform @ main.22d51792a5c88e848e51.js:28
perform @ main.22d51792a5c88e848e51.js:28
_ @ main.22d51792a5c88e848e51.js:28
closeAll @ main.22d51792a5c88e848e51.js:28
perform @ main.22d51792a5c88e848e51.js:28
batchedUpdates @ main.22d51792a5c88e848e51.js:192
batchedUpdates @ main.22d51792a5c88e848e51.js:28
dispatchEvent @ main.22d51792a5c88e848e51.js:192
main.22d51792a5c88e848e51.js:130 Uncaught (in promise) Error: Request failed with status code 400
    at e.exports (main.22d51792a5c88e848e51.js:130)
    at e.exports (main.22d51792a5c88e848e51.js:223)
    at XMLHttpRequest.f.<computed> (main.22d51792a5c88e848e51.js:130)

Steps to reproduce the problem

Screenshot/screencast

https://monosnap.com/file/5QQnVlzqceTqwItHHrgFZlaHVab895

Environment

maxceem commented 4 years ago