May be it is not a good idea but throwing HTTPError is not good idea too =)
It must return human readable error message or let me do that I want. At 
this time I can't understand what is going on.
By the way, this new regex is from vanilla filebrowser documantation and it 
works like a charm if i try to download a file that I've copied to this dir 
by hand.
I mean I can download it with wget or any browser without any errors (200 
OK)

воскресенье, 10 января 2016 г., 20:52:45 UTC+3 пользователь Ryne Everett 
написал:
>
> So you want to end up with dots in your url? I doubt that's allowed by 
> http but seems like a bad idea even so because url parsers are going to 
> assume there are only 2 dots in a url.
>
> On Sun, Jan 10, 2016 at 8:28 AM, <dbori...@gmail.com <javascript:>> wrote:
>
>> Hi guys,
>>
>> To have ability to create dirs with dot in their names I've updated 
>> FILEBROWSER_FOLDER_REGEX to r'^[\w._\ /-]+$'.
>> After that I've successfully created 'example.com' dir via filebrowser, 
>> but when I try to upload any file in this dir, it throws an HTTPError and 
>> instantly reload the page without any debug info.
>> Is it bug or dot dirs was disabled by any reason?
>>
>> Thnx.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Mezzanine Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to mezzanine-use...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to