@gappiah yes you are right. @bcworkz This happens with a fresh WP 6.5 and just the default theme too.
The essence is, this odd URL gets created only when the permalink structure is /%category%/%postname%/
So I assumed this cannot be an intended behavior. Then, should it be reported as an issue?