# Dashboard issue - bug? URL path case sensitivity

**URL:** <https://discourse.nodered.org/t/dashboard-issue-bug-url-path-case-sensitivity/81034>\
**Category:** Dashboard\
**Tags:** node-red-dashboard\
**Created:** [4 September 2023 10:22 UTC](https://discourse.nodered.org/t/dashboard-issue-bug-url-path-case-sensitivity/81034 "2023-09-04T10:22:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [4 September 2023 10:22 UTC](https://discourse.nodered.org/t/dashboard-issue-bug-url-path-case-sensitivity/81034/1 "2023-09-04T10:22:14Z")

</div>

Hi all, as [raised against uibuilder initially](https://discourse.nodered.org/t/uibuilder-and-url-case-sensitivity/81019) by @annuello (many thanks), there is an issue where, while Node-RED's ExpressJS servers default to being case-insensitive, [Socket.IO](http://Socket.IO) does not seem to like that at all.

In Dashboard's case, it means that while the http resources are loaded, [Socket.IO](http://Socket.IO) is not. You end up with a white page.

Seems like an inconsistency that may need at least documenting. It isn't too bad with the default path of `/ui/` since most people wouldn't both to type that in mixed or upper case, but a longer or mixed-case path name might cause confusion.

According to the w3c standards, I believe that URL paths SHOULD be case-sensitive. However, due to the way that ExpressJS works, not only is it case-insensitive by default I think, it may also need flags setting in multiple places as indicated in this thread: [node.js - nodejs express - case sensitive URL's - Stack Overflow](https://stackoverflow.com/questions/21216523/nodejs-express-case-sensitive-urls).

I will be adding an option to uibuilder to allow forcing of all of the routes defined by uibuilder to be case sensitive and that may well become the default in a future major release (since it would potentially be a breaking change).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [4 October 2023 10:22 UTC](https://discourse.nodered.org/t/dashboard-issue-bug-url-path-case-sensitivity/81034/2 "2023-10-04T10:22:52Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
