Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
patch URLFilters to prevent `//` #6058
A fair point, but I suppose my use cases there were exaggerated examples to highlight a point. Should we be catering to a specific instance of a problem (e.g. Baseurl = /), or the more general pattern of the problem (ending in 1 or more slashes, that when concatenated cause duplication) My personal view leans towards fixing the pattern rather than the specific instance.
But multiple slashes are perfectly legal in a URL. Do we really want to stop supporting that just so setting
Let's try to figure out what the root problem is and try to fix that with as few unintended consequences as possible, rather than trying to decide how hypothetical situations should be magically changed without the users permission.