https://bugzilla.wikimedia.org/show_bug.cgi?id=44066

--- Comment #2 from [email protected] ---
Hi Andre,

Yep, that's the one. It looks like it must have moved since 1.19. Sorry I don't
have the code near me -- it's in a cold, dark and noisy room -- but from that,
it looks like it's doing a case insensitive match anyways, so the only addition
I'd suggest is a . character in the second square brackets. (I'm not sure
whether I missed spotting that previously -- I was on a "just get it working"
mission :-).

Of course, while this fixes my problem, I could not tell you whether:
a) it would have any unwanted side effects or implications elsewhere.
b) it would then make the regex cover all valid scenarios (i.e., do people use
other characters?)

I was a bit hesitant from posting this at all, as I couldn't even figure out
why it was fiddling with with the database name at all during file upload (it
isn't using it in any obvious way -- the uploaded files don't go to a directory
containing the DB name, for example). Given this, I'll back out at this point
and let you more-knowledgeable folks handle it (if any change is warranted).

- Grotty.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to