URL-length limit applied inconsistently

Vote:
 

When I create a page I can set the page url to a string with up to 255 chars. Above that I get a warning that the url is too long. This works as expected and is'nt a problem for us. I do not need to give pages longer names.

However, if I give the page an url that makes to total url (including https, domain name, folders and the name of the actual page) that's longer, in total, than 255 character limit the page can't be displayed. I've tried specifying the maxUrlLength property in web.config and searched for other solutions but haven't found any that explains or fix this.

It's interesting to note that while trying things around this I forgot to publish the page I'd created, the 404 page displayed without problem. After publishing I got "garbled" text.

#278009
Edited, Apr 07, 2022 13:01
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.