Skip to content

Modify the RAR signature to match RAR specification#144

Merged
annevk merged 2 commits intowhatwg:mainfrom
gacelperfinian:patch-1
Jul 24, 2025
Merged

Modify the RAR signature to match RAR specification#144
annevk merged 2 commits intowhatwg:mainfrom
gacelperfinian:patch-1

Conversation

@gacelperfinian
Copy link
Copy Markdown
Contributor

@gacelperfinian gacelperfinian commented May 28, 2021

This changes the RAR signature validation to correct deficiencies stated in #63.


Preview | Diff

@annevk
Copy link
Copy Markdown
Member

annevk commented Sep 3, 2021

@gacelperfinian you'll need to sign https://participate.whatwg.org/agreement. It might also help to force push so the bots run again.

@GPHemsley Chrome only has one RAR signature right, but this PR adds multiple. It's not clear we have implementer agreement for such a change.

Copy link
Copy Markdown
Member

@GPHemsley GPHemsley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gacelperfinian The correction of the typo in the RAR 4.x signature is the desired change here. Please remove the addition of the RAR 5 signature, as that would warrant a separate discussion.

gacelperfinian added a commit to gacelperfinian/mimesniff that referenced this pull request Nov 9, 2021
As stated in whatwg#144 (review):

> Please remove the addition of the RAR 5 signature, as that would warrant a separate discussion.
Copy link
Copy Markdown
Contributor Author

@gacelperfinian gacelperfinian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GPHemsley sorry for the delay due to personal circumstances. I've made the necessary change since as you pointed out, the popularity (or not) of RAR 5 files should warrant a separate review.

@annevk I've already submitted the contrib agreement but still awaiting WHATWG's verification.

@omduggineni
Copy link
Copy Markdown

@GPHemsley @annevk Any updates on this by the way? Was looking to make a program implementing the MIME Sniffing Standard and it may be a good idea to fix the RAR magic number so that nobody is confused about the correct implementation.

@annevk
Copy link
Copy Markdown
Member

annevk commented Jul 24, 2025

@omduggineni thanks for the ping, let's see if I can get this unstuck.

This changes the RAR signature validation to correct deficiencies stated in whatwg#63 and to separate the signature used in RAR 4.x and RAR 5.0.
As stated in whatwg#144 (review):

> Please remove the addition of the RAR 5 signature, as that would warrant a separate discussion.
@annevk annevk merged commit 4b489c0 into whatwg:main Jul 24, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants