[Bug]: Invalid resource files format

Open Beginner friendly
#6,051 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
csharp, xml
Domain
backend

Research direction

Inspect admin/Modules/App_LocalResources/Export.ascx.resx and check whether the schema URL uses https rather than http. Search for other resource files with the same header so the fix is consistent. Done means the affected resource headers use the expected http schema URL and the reported translation tools no longer fail.

Written by the indexing model from the issue text.

Description

Status: New
Is there an existing issue for this?
  • I have searched the existing issues
What happened?

Some files on 9.13.3 (haven't looked at previous versions, but did not happen on 9.6) have a bad header specification.

The correct one should be:

but they have:

Notice the HTTPS

I have some tools to help with translating resx files that I noticed started failing because of this.

According to this post https://stackoverflow.com/questions/75617680/why-cant-i-reference-xmlschema-as-https it's incorrect to link to the schema as https and it should be http

Steps to reproduce?

Check for this example file:
\admin\Modules\App_LocalResources\Export.ascx.resx

Current Behavior

No response

Expected Behavior

No response

Relevant log output

No response

Anything else?

No response

Affected Versions

9.13.3 (latest release)

What browsers are you seeing the problem on?

No response

Code of Conduct
  • I agree to follow this project's Code of Conduct
Dominant language
C#
Stars
1.1k
Forks
791
Avg merge
4d 5h
Merged PRs (30d)
27

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dnnsoftware/Dnn.Platform

All issues in dnnsoftware/Dnn.Platform

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.