gitea/models
mrsdizzie dce22efbee Fix SSH2 conditonal in key parsing code (#8806)
Avoid out of bounds error by using strings.HasPrefix to check for
starting SSH2 text rather than assuming user input has at least 31
characters.

Add tests for bad input as well.

Fixes #8800
2019-11-03 19:08:18 +08:00
..
fixtures
migrations
access_test.go
access.go
action_list.go
action_test.go
action.go
admin_test.go
admin.go
attachment_test.go
attachment.go
branches_test.go
branches.go Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01:00
commit_status_test.go
commit_status.go
consistency.go
context.go
convert.go
error_oauth2.go
error.go Prevent upload (overwrite) of lfs locked file (#8769) 2019-11-02 15:37:05 +08:00
external_login_user.go
gpg_key_test.go
gpg_key.go
graph_test.go
graph.go
helper_directory.go
helper_environment.go
helper.go
issue_assignees_test.go
issue_assignees.go
issue_comment_list.go
issue_comment_test.go
issue_comment.go mark review comment as invalidated when file is deleted (#8751) 2019-10-31 13:59:36 -04:00
issue_dependency_test.go
issue_dependency.go
issue_label_test.go
issue_label.go Allow cross-repository dependencies on issues (#7901) 2019-10-31 13:06:10 +08:00
issue_list_test.go
issue_list.go
issue_lock.go
issue_milestone_test.go
issue_milestone.go [Fix] milestone close timestamp (#8728) 2019-10-29 10:35:50 +08:00
issue_reaction_test.go
issue_reaction.go
issue_stopwatch_test.go
issue_stopwatch.go
issue_test.go Allow cross-repository dependencies on issues (#7901) 2019-10-31 13:06:10 +08:00
issue_tracked_time_test.go
issue_tracked_time.go
issue_user_test.go
issue_user.go
issue_watch_test.go
issue_watch.go Add API for Issue set Subscription (#8729) 2019-11-02 23:27:49 +08:00
issue_xref.go
issue.go Allow cross-repository dependencies on issues (#7901) 2019-10-31 13:06:10 +08:00
lfs_lock.go
lfs.go Add basic repository lfs management (#7199) 2019-10-28 18:31:55 +00:00
log.go
login_source.go
main_test.go
migrate.go
models_test.go
models.go
notification_test.go
notification.go
oauth2_application_test.go
oauth2_application.go
oauth2.go
org_team_test.go
org_team.go
org_test.go
org.go
pull_list.go Allow cross-repository dependencies on issues (#7901) 2019-10-31 13:06:10 +08:00
pull_test.go
pull.go Move pull list code to a seperate file (#8748) 2019-10-30 20:33:10 +00:00
release.go
repo_activity.go
repo_branch.go
repo_collaboration_test.go
repo_collaboration.go
repo_indexer.go
repo_issue.go
repo_list_test.go
repo_list.go Add basic repository lfs management (#7199) 2019-10-28 18:31:55 +00:00
repo_mirror.go
repo_permission_test.go
repo_permission.go
repo_redirect_test.go
repo_redirect.go
repo_sign.go
repo_tag.go
repo_test.go
repo_unit.go
repo_watch_test.go
repo_watch.go
repo.go Respect LFS File Lock on UI (#8719) 2019-10-29 23:32:21 +02:00
review_test.go
review.go
ssh_key_test.go Fix SSH2 conditonal in key parsing code (#8806) 2019-11-03 19:08:18 +08:00
ssh_key.go Fix SSH2 conditonal in key parsing code (#8806) 2019-11-03 19:08:18 +08:00
star_test.go
star.go
task.go
test_fixtures.go
token_test.go
token.go
topic_test.go
topic.go
twofactor.go
u2f_test.go
u2f.go
unit_tests.go
unit.go
update_test.go
update.go
upload.go
user_follow_test.go
user_follow.go
user_heatmap_test.go
user_heatmap.go
user_mail_test.go
user_mail.go
user_openid_test.go
user_openid.go
user_test.go
user.go
userlist_test.go
userlist.go Add API for Issue set Subscription (#8729) 2019-11-02 23:27:49 +08:00
webhook_dingtalk.go
webhook_discord.go
webhook_msteams.go
webhook_slack.go
webhook_telegram.go
webhook_test.go Move webhook to a standalone package under modules (#8747) 2019-11-01 22:51:22 +00:00
webhook.go Move webhook to a standalone package under modules (#8747) 2019-11-01 22:51:22 +00:00
wiki_test.go
wiki.go