ietf-tools / author-tools

Author Tools
https://author-tools.ietf.org
BSD 3-Clause "New" or "Revised" License
35 stars 30 forks source link

TypeError: Node.appendChild: Argument 1 is not an object. #506

Open larseggert opened 1 month ago

larseggert commented 1 month ago

Describe the issue

I get TypeError: Node.appendChild: Argument 1 is not an object. when trying to do a side-by-side diff between the attached main.txt and fix.txt files. (Yes, they are not I-Ds or RFCs.)

Archive.zip

Code of Conduct

kesara commented 1 month ago

@larseggert, main.txt is about 9.1MB. The nginx server is currently configured with the maximum allowed size 5MB. That's the root cause of the error. That error message is because JavaScript logic does not handle the HTTP status 413 correctly.

kesara commented 1 month ago

5MB is the maximum allowed size of the client request body. ^1