Updating to the version 2-3-3-0

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
11/25/2009 3:31:44 AM
Gravatar
Total Posts 28

Updating to the version 2-3-3-0

Win 2008

SQL2005

2-3-3-0

After updating to the version 2-3-3-0 all pages of a site, URL which was on cyrillic, now inaccessible. (404 - File or directory not found.)

In the previous versions URL of these pages was generated with use of an option " use URL"

 

2 In properties of pages URLs new pages (only new) is displayed not correctly (Инфо.aspx = ~ / %d0%98%d0%bd%d1%84%d0%be.aspx)

The new pages, work

11/25/2009 4:48:24 AM
Gravatar
Total Posts 550

Re: Updating to the version 2-3-3-0

Hi,

In this version the page URL can encoded.Touch <add key="AlwaysUrlEncode" value="false" /> in web/user.config file.

Hope Helps,

Asad

11/25/2009 5:25:39 AM
Gravatar
Total Posts 28

Re: Updating to the version 2-3-3-0



Thanks, Asad!

I have added a key <add key="AlwaysUrlEncode" value="false" /> in user.config file

Now old pages with cyrillic URLs open. But at creation of new pages friendly URL is generated not correctly.(Инфо.aspx = ~ / %d0%98%d0%bd%d1%84%d0%be.aspx) Now for new pages "404 - File or directory not found."

It is necessary to do(make) it manually

Stas

11/25/2009 6:11:12 AM
Gravatar
Total Posts 18439

Re: Updating to the version 2-3-3-0

Hi Stas,

I forgot to add the check for that config setting in the friendly url suggest service. I just emailed you a patched version of mojoPortal.Web.dll that should solve this. I will patch the release packages as soon as I get back from my dentist appointment.

Thanks,

Joe

11/25/2009 6:24:27 AM
Gravatar
Total Posts 28

Re: Updating to the version 2-3-3-0

Hi, Joe

To hurry it is not necessary, I shall wait.

Thanks, Stas

11/25/2009 10:55:46 AM
Gravatar
Total Posts 18439

Re: Updating to the version 2-3-3-0

I've patched the 2.3.3.0 release. The only modified file is mojoPortal.Web.dll. It now should respect the AllwaysEncodeUrls when it is false and not suggest encoded urls. This AlwaysEncodeUrls setting was added with a default of true based on troubleshooting the problem reported on this thread about Persian characters. While non-ascii characters do seem to work in Firefox and Chrome, it does not always work correctly in IE and it's not really a bug in IE because according to the spec urls should have non-ascii characters encoded. The fact that it can work for some non ascii characters in spite of it not being correctly encoded is why I made it a config setting so that there is a choice, but since the spec says they should always be encoded I made the default to encode them. 

I have created a document here to explain the issue and options.

http://www.mojoportal.com/non-ascii-urls.aspx

Best,

Joe

11/26/2009 1:40:12 AM
Gravatar
Total Posts 28

Re: Updating to the version 2-3-3-0

Hi, Joe

Now all is excellent. URLs again are friends of Russian.

Thanks, Stas

You must sign in to post in the forums. This thread is closed to new posts.