You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current code is assuming that the rel type portion of the link header was assumed to always have quotes around it but after talking with indiewebcamp folks and reading the RFC, the quotes are only required if the rel-type string itself has a ";" character.
Also tightened up parsing of the link into the url and rel parts by using shlex so it would handle escaping and quotes properly.
The text was updated successfully, but these errors were encountered:
The current code is assuming that the rel type portion of the link header was assumed to always have quotes around it but after talking with indiewebcamp folks and reading the RFC, the quotes are only required if the rel-type string itself has a ";" character.
Also tightened up parsing of the link into the url and rel parts by using shlex so it would handle escaping and quotes properly.
The text was updated successfully, but these errors were encountered: