-
- Downloads
Return a consistent not found message
This prevents leakage of project names on an endpoint which is unauthenticated and thus open to the world.
Showing
- app/models/project.rb 1 addition, 1 deletionapp/models/project.rb
- db/schema.rb 16 additions, 4 deletionsdb/schema.rb
- lib/api/services.rb 3 additions, 2 deletionslib/api/services.rb
- lib/mattermost/presenter.rb 2 additions, 2 deletionslib/mattermost/presenter.rb
- spec/models/project_spec.rb 1 addition, 1 deletionspec/models/project_spec.rb
- spec/requests/api/services_spec.rb 3 additions, 2 deletionsspec/requests/api/services_spec.rb
Loading
Please register or sign in to comment