Maven Doxia

encodeId returns an empty string which is not a valid id

Details

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

Description

IMO the encodeId method is meant to return an id that is guaranteed to be a valid Doxia id. However, for an empty string as input, or a string consisting only of spaces, encodeId returns an empty string which is not a valid id.

Activity

Hide
Lukas Theussl added a comment -

Fixed in r769701.

Show
Lukas Theussl added a comment - Fixed in r769701.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: