question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multiple Patches I could submit if there is interest in them

See original GitHub issue

Hi!

I have made a couple of small changes to the DNN source code regarding the issues below. If there is some interest in having those patches included we could discuss how to enable them (and the default setting):

  1. DNN Platform\Library\Framework\AJAX.cs

I have added “, EnableScriptLocalization = false” in line 44. The default setting is EnableScriptLocalization = true and this leads to an attempt to load a localized version of the AJAX library. You should be able to see it in a Browser network trace if you have some module loaded on a page that uses AJAX. With this change in place it will not attempt to localize the file name. To see this problem you may have to enable the CDN for Ajax in order to load it from a Microsoft web server. If you load it from your site you may already have copied the original version of the library file to have the requested file name. Would be interesting to hear others opinion of this.

  1. DNN Platform\Website\admin\Skins\Privacy.ascx.cs & Terms.ascx.cs

The rel=“nofollow” for the link to privacy and terms should be at least part of the ascx file to configure “rel” without having to recompile DNN. I could add rel=“nofollow” to the Privacy.ascx and Terms.ascx files and remove it from the cs file. Would that be sufficient? The default would still be the same and if one doesn’t want it to be nofollow one could easily change it. There are mixed opinions on having it set to nofollow (pro and contra). Some say having it nofollow could look kind of shady.

  1. DNN Platform\Website\Default.aspx.cs

We don’t want to differentiate between en-us and en-en for example, or de-de and de-au so we cut the location off leaving the two letters of the language code in the rendered <html lang="en"> tag. We are not big enough of a site to have individual pages for each location and language is enough. What are your thoughts? Should this somehow be enabled/disabled? What would be the best way?

If there is any interest I could submit the 3 patches separately.

Best regards & happy DNNing Andy9999

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
bdukescommented, Mar 16, 2022

I reopened #4559 yesterday after this comment

1reaction
valadascommented, Mar 16, 2022

I don’t see (at leat on that issue) a stale problem, a comment is good to unstale an issue in between the period of time of the first stalebot comment about it being closed soon if not active and the final comment when the issue gets closed due to lack of anyone moving the subject forward. That being said, human will reopen commented closed issues at any sign of interest in handling a closed issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support multiple patches per package #43
I like to separate my patches by concern, and it'd be nice if patch-package allowed a third segment in the patch name that...
Read more >
Submitting patches: the essential guide to getting your ...
Your patch will almost certainly get comments from reviewers on ways in which the patch can be improved. You must respond to those...
Read more >
Multiple form submit - tried patching and submit
Solved: Hi all, I'm hopiong you can help me out. I've created a powerapps app, with 8 forms all coming off the same...
Read more >
Problem with Patch function - submit multiple forms in one Excel
Hi Community, I have a problem with my Inventory Management App. My app have two device : command materials and find all inventory...
Read more >
Submitting patches
If a person was not directly involved in the preparation or handling of a patch but wishes to signify and record their approval...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found