Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Friendly Url Pr...Friendly Url Pr...A potentially dangerous Request.Path value was detected from the client A potentially dangerous Request.Path value was detected from the client
Previous
 
Next
New Post
8/28/2012 5:17 PM
 
Hi, 
Im using friendly url in several portals using Icelandic characters in page names. 
after update to DNN 6.2.2  i  cannot open html editor on pages using  the  iclelandic characters in page names.
I get an error: 
InnerException: A potentially dangerous Request.Path value was detected from the client (:).
InnerException: A potentially dangerous Request.Path value was detected from the client (%).

This issue is reported in DNN, and a good solution is suggested here
where they suggest using 
< add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules"includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" urlFormat="humanfriendly" / >

my web.config looks like this
<friendlyUrl defaultProvider="iFinity.FriendlyUrl">
      <providers>
        <clear />
        <add name="iFinity.FriendlyUrl" type="iFinity.DNN.Modules.FriendlyUrl.DNNFriendlyUrlProvider, iFinity.FriendlyUrlProvider" includePageName="true" regexMatch="[^\+a-zA-Z0-9 _-]" urlFormat="HumanFriendly" redirectUnfriendly="true" doNotRedirect="SearchResults;" checkForDupUrls="true" forceLowerCase="false" redirectWrongCase="false" replaceSpaceWith="-" logCacheMessages="false" usePortalAlias="0,landvernd.is;1,landvernd.is/blafaninn;2,landvernd.is/graenfaninn;3,vistvernd.landvernd.is" pageExtensionUsage="never" ignoreFileTypesRegex="(?&lt;!linkclick\.aspx.+)(?:\.pdf$|\.gif$|\.png$|\.css$|\.js$|\.jpg$|\.html$|\.htm$|\.axd|\.swf$|\.flv$|\.xml$|\.ico$|\.ppt$|\.doc$|/dnnprintmode/|ImageChallenge)" />
        <add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" />
      </providers>
    </friendlyUrl>

Does anyone have a solution  for ifinity Friendly Url provider ?



 
New Post
8/29/2012 5:36 AM
 
Can you provide the Url that is creating the problem?  As well as the name of the page in DNN (in Icelandic).

I have had people report a problem with the request.path exception, but it was to do with a different part of the system.
 
New Post
8/29/2012 2:14 PM
 
Thanks for quick response Bruce, 
I have sent you an email, with the website url and  login info for a superuser account I created for you

What you can do to reproduce the error messages is. 
opening an html module  edit text, on a page which has icelandic characters in  url
and then try the same on a page not using icelandic characters in url

Best regards 
Vera
 
New Post
1/30/2013 11:03 AM
 
OK this one came up again.

The problem is when you have a Dnn page with a name that includes non-ascii characters (such as icelandic, or japanese), and using a module container which includes the ability to show the 'commands' for a module (usually 'edit content' and 'settings') - the code that generates the Urls for the popup window links for those module-specific commands double-encodes the Urls, which ASP.NET throws an exception on.

It's not specifically related to the Url Master module and affects the core code as well.

There are a couple of workarounds:
- use the DNN 6 'manage' or the DNN7 floating module menu to access the module commands.  It will help to use a module container that doesn't show the other values - the dnn6 & dnn7 standard containers do not show the module commands, as they rely on the in-built module menu.
- switch off popups for the site.

I have also raised this on the dotnetnuke.com forums before (and updated again)
 http://www.dotnetnuke.com/Resources/F...
 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Friendly Url Pr...Friendly Url Pr...A potentially dangerous Request.Path value was detected from the client A potentially dangerous Request.Path value was detected from the client


Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.