Bug reports Found a bug? Post it here please.
Version 6.x > Bug reports > Files friendly URL extension bug View modes: 
User avatar
Certified Developer v6
Certified Developer v6
szarouski - 11/17/2011 9:20:40 AM
   
Files friendly URL extension bug
Hello,
When I change Files friendly URL extension in Site manager -> settings -> urls & seo to blank field (no extension) and then try to insert image in editable text webpart on page tab using wysiwyg - images paste, but don't show (like an image with wrong path). Looks like generated url is wrong. Also image preview in page's properties -> attachments don't show. However (just for better bug explanation) if I try to edit image in attachments, I can see that image show, but url is defenetly not friendly (/CMSAdminControls/ImageEditor/GetImageVersion.aspx?editorguid=c8b296dd-32c7-4eab-8212-90f92517ed71&versionnumber=1&imgwidth=647&imgheight=391&hash=648d85cb62f8626cfd45e446bc74974c95607a2798f90b110cd5df5f2c4af63b).

After I change Files friendly URL extension value to ".aspx" - it start to work again. Please provide information how to keep field blank, but be able to view image. Thanks.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 11/18/2011 2:57:20 AM
   
RE:Files friendly URL extension bug
Hi,

Could you please confirm you have followed the instructions how to setup extension-less URLs?

Best regards,
Juraj Ondrus

User avatar
Certified Developer v6
Certified Developer v6
szarouski - 11/18/2011 7:27:26 PM
   
RE:Files friendly URL extension bug
Hi, thank you for your reply, hopefully it will help.

User avatar
Certified Developer v6
Certified Developer v6
szarouski - 11/23/2011 11:53:29 AM
   
RE:Files friendly URL extension bug
Hi, does these instructions cover Files friendly URL extension or just for Friendly URL extensions?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 11/24/2011 1:48:24 AM
   
RE:Files friendly URL extension bug
Hi,

Yes, the IIS settings are the same for all URLs - does not matter whether it is a file or not. Then, in Site Manager -> Settings -> URLs and SEO section there are two fields to set the desired extensions - so you have the option to have different extensions for documents/pages and for files according your needs (Friendly URL extension and Files friendly URL extension fields).

Best regards,
Juraj Ondrus

User avatar
Certified Developer v6
Certified Developer v6
szarouski - 11/24/2011 8:13:40 AM
   
RE:Files friendly URL extension bug
Ok then, after making required configuration when I leave Files friendly URL field blank, I still have same issue, files don't show up.

P.s. also it looks like you have small error in Developers Guide. On http://devnet.kentico.com/docs/6_0/devguide/custom_url_extensions_iis7.htm under required configuration at line <modules runAllManagedModulesForAllRequests="true"> looks like there should be trailing slash in the end.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 11/25/2011 2:19:05 AM
   
RE:Files friendly URL extension bug
Hi,

It is working just fine for me - I am using v6 with latest hotfix.

Could you please describe the exact steps how are you inserting the image - which button are you using, etc.?

Also, is your IIS and handler mappings set correctly to handle images?

The modules section is ended by </modules> tag so the trailing slash can't be used in the first line.

Best regards,
Juraj Ondrus