Fix request parsing for the base URI