Item13330: Web create fails to throw error when invalid (utf-8) characters are in the webname.
Current State: Closed
Released In: 2.0.0
Target Release: major
Inconsistent web create and the message
How to reproduce:
- SiteCharset: UTF-8
- go to ManagingWebs
- Create Web Űber (e.g. start with an accented character)
- The confirmation wil say:
The web is created
- But it isn't created the links points into the System web
- 26 Mar 2015
The issue is that validateWebName is not accepting utf8 characters. It returns undef for an invalid webname, and then with ASSERT enabled, i get a crash:
Use of uninitialized value $newWeb in pattern match (m//) at /var/www/foswiki/distro/core/lib/Foswiki/UI/Manage.pm line 157.
The web name regular expressions don't support utf8 characters.
- 27 Mar 2015
Tested again in 1.2-trunk. It doesn't allows create web such "Über", so it is consistent.
- 23 Apr 2015