Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit f88cdb9

Browse files
committed
Merge pull request #20 from sakshityagi/master
Provided 6 character support in TLD url : #116151777
2 parents 0387602 + 4af79f7 commit f88cdb9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

control/content/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<div class="col-md-9 pull-left padding-left-zero">
3131
<input id="url" name="url" type="text" class="form-control"
3232
ng-model="data.content.url" required
33-
pattern="[-a-zA-Z0-9@:%_\+.~#?&amp;//=]{2,256}\.[a-z]{2,4}\b(\/[-a-zA-Z0-9@:%_\+.~#?!?\/?\w\/?&amp;//=]*)?">
33+
pattern="[-a-zA-Z0-9@:%_\+.~#?&amp;//=]{2,256}\.[a-z]{2,6}\b(\/[-a-zA-Z0-9@:%_\+.~#?!?\/?\w\/?&amp;//=]*)?">
3434
</div>
3535
<div class="col-md-3 pull-right padding-zero">
3636
<button class="btn btn-success stretch" ng-click="validateUrl()"

widget/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ <h2>Success!</h2>
136136
oldUrl = history.pop();
137137
}
138138
catch (e) {
139+
buildfire.navigation.restoreBackButtonClick();
140+
buildfire.navigation.goBack();
139141
console.warn(e);
140142
// most likely cross domain access failure
141143
}

0 commit comments

Comments
 (0)