Archiva

500 on HEAD method

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1
  • Fix Version/s: 1.1
  • Component/s: WebDAV Interface
  • Labels:
    None
  • Number of attachments :
    0

Description

Doing a HTTP HEAD on a resource sends a 500 response.

This is because we are not checking outputcontext.hasStream before trying to write to a stream and a NPE is thrown.

Activity

Hide
James William Dumay added a comment -

Fixed in r674698.

Show
James William Dumay added a comment - Fixed in r674698.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: