U4-2034 - Putting whitespace in UmbracoReservedPaths (web.config) crashes the website

Created by Steven Lemmens 02 Apr 2013, 14:46:35 Updated by Shannon Deminick 08 Jan 2014, 06:21:22

We have just discovered this:

If you accidentally put some whitespace in the web.config in the property UmbracoReservedUrls, then the entire website crashes.

I don't know if this is due to Umbraco itself, but simply trimming the input, or replacing all spaces with "" should solve this issue, I think.

I think it's very easy to solve. The UmbracoReservedPaths might have the same problem, we haven't tested yet.

If I have the time, I might submit a patch for this tonight. If someone else wants to have a crack at it, be my guest :-)

(seen in 4.11.4, later versions may be affected as well)

Comments

Sebastiaan Janssen 19 Dec 2013, 07:38:45

For reference, pull request: https://github.com/umbraco/Umbraco-CMS/pull/232


Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Very Easy

Category:

Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 4.10.0, 4.11.0, 6.0.0, 6.1.0, 4.11.1, 4.11.2, 4.11.3, 4.11.4, 6.0.1, 4.11.5, 6.0.2, 4.11.6, 6.0.3, 6.0.4, 4.11.7, 6.1.1, 6.0.6, 4.11.9, 6.0.5, 4.11.8, 6.0.7, 6.1.2, 4.11.10, 6.1.3, 6.1.4, 6.1.5, 6.1.6

Due in version: 6.2.0, 7.0.2

Sprint:

Story Points:

Cycle: