Skip to content

Conversation

@kinnarr
Copy link
Contributor

@kinnarr kinnarr commented May 26, 2016

Please, make sure you are targeting the develop branch!

More instructions about contributing with Gogs code can be found here:
https://github.com/gogits/gogs/wiki/Contributing-Code

Fixes security issue #3110 by checking if sha token is empty and returning error in this case

@roblabla
Copy link
Contributor

roblabla commented Jun 4, 2016

Eh, that's weird. Doesn't that mean that there is an empty AccessToken in the database ? I'm pretty sure that's not normal.

@kinnarr
Copy link
Contributor Author

kinnarr commented Jun 4, 2016

No. It's the way, how xorm queries the db. If there is no query (or an empty query, because sha is empty), it returns the first entry in the table.

@bkcsoft bkcsoft added the status: reviewed It has been reviewed by maintainers label Jun 8, 2016
@bkcsoft
Copy link
Contributor

bkcsoft commented Jun 8, 2016

Looks good to me 👍

@unknwon
Copy link
Member

unknwon commented Jun 27, 2016

Seems having conflict?

@unknwon unknwon added the status: needs feedback Tell me more about it label Jun 27, 2016
@kinnarr
Copy link
Contributor Author

kinnarr commented Jun 27, 2016

@unknwon fixed

@unknwon
Copy link
Member

unknwon commented Jun 27, 2016

It would be even better to cleanup into 1 commit :D

@unknwon unknwon removed the status: needs feedback Tell me more about it label Jun 27, 2016
@unknwon
Copy link
Member

unknwon commented Jun 27, 2016

Thanks!

@unknwon unknwon merged commit 8b35c19 into gogs:develop Jun 27, 2016
ethantkoenig pushed a commit to ethantkoenig/gogs that referenced this pull request Feb 6, 2018
* new issue mention

* Mention completion on new issue and view issue page.

* Code format.

* Require tribute in pull request page.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

status: reviewed It has been reviewed by maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants