Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Some source said the Gitee was based on GitLab, I can't confirm because I'm not yet an user.

See also: https://techcrunch.com/2020/08/21/china-is-building-its-gith...



Guess what, I just registered a test account, and poked a little bit for fun (Somebody already took the username I wanted so I'm not in the mood to actually use their service). I found that at least their URL routing system is not well-thought.

See, they have a "Self Services" system under the HTTP path "/self_services", and the path to an user profile is formatted like "/username", the path to a repository is formatted like "/username/repositoryname".

So... (I think you've already guessed it)

- This is the URL to their Self Service: https://gitee.com/self_services

- Then, I registered a user named "self_services" (successfully, surprise!), and created a repository: https://gitee.com/self_services/test-repo. Yeah, that just happened.

I guess they are using a big global Routing Table instead of a staged one. Hope can get it they fixed, because it could be a hole in their security.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: