Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore UTS46 validity criteria V2 #240

Merged
merged 1 commit into from Nov 22, 2016
Merged

Ignore UTS46 validity criteria V2 #240

merged 1 commit into from Nov 22, 2016

Conversation

@canova
Copy link
Member

canova commented Nov 18, 2016

Fixes #160
r? @SimonSapin or @Manishearth


This change is Reviewable

@canova canova force-pushed the canova:idna branch 2 times, most recently from 66d4f1e to 7a11639 Nov 18, 2016
(third, fourth) == (Some('-'), Some('-'))
} || label.starts_with("-")
// Spec says, the label must not contain a HYPHEN-MINUS character in both the
// third and fourth positions. But nobody follow this criteria. See the spec issue below:

This comment has been minimized.

@Manishearth

Manishearth Nov 18, 2016

Member

"Spec says that the", and "follows"

This comment has been minimized.

@canova

canova Nov 18, 2016

Author Member

Fixed, thanks!

@Manishearth
Copy link
Member

Manishearth commented Nov 18, 2016

LGTM but I would like sign-off from @SimonSapin here

@canova canova force-pushed the canova:idna branch from 7a11639 to 657ae9c Nov 18, 2016
let fourth = chars.next();
(third, fourth) == (Some('-'), Some('-'))
} || label.starts_with("-")
// Spec says that the, label must not contain a HYPHEN-MINUS character in both the

This comment has been minimized.

@Manishearth

Manishearth Nov 18, 2016

Member

no comma

@emilio
Copy link
Member

emilio commented Nov 19, 2016

Isn't this the same as #208? If so, it's really sad that that PR has been sitting there for so long :(

@Manishearth
Copy link
Member

Manishearth commented Nov 19, 2016

It removes the configurability.

@canova canova force-pushed the canova:idna branch from 657ae9c to 695a507 Nov 19, 2016
@canova
Copy link
Member Author

canova commented Nov 19, 2016

Fixed the typo

@Manishearth
Copy link
Member

Manishearth commented Nov 19, 2016

@SimonSapin
Copy link
Member

SimonSapin commented Nov 22, 2016

@bors-servo r+

Thanks!

@bors-servo
Copy link
Contributor

bors-servo commented Nov 22, 2016

📌 Commit 695a507 has been approved by SimonSapin

@bors-servo
Copy link
Contributor

bors-servo commented Nov 22, 2016

Testing commit 695a507 with merge 52234db...

bors-servo added a commit that referenced this pull request Nov 22, 2016
Ignore UTS46 validity criteria V2

Fixes #160
r? @SimonSapin or @Manishearth

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-url/240)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Nov 22, 2016

☀️ Test successful - status-travis

@bors-servo bors-servo merged commit 695a507 into servo:master Nov 22, 2016
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

6 participants
You can’t perform that action at this time.