Commit 346e983
fix($location): correctly rewrite html5 url to hashbang url
In situations where path() matched basepath and we needed to
convert from html5 url to hashbang url, the $location service
considered the url to be already rewritten, which resulted in
an error.1 parent 2b1f102 commit 346e983
2 files changed
Lines changed: 17 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
552 | 562 | | |
553 | 563 | | |
554 | 564 | | |
| |||
1209 | 1219 | | |
1210 | 1220 | | |
1211 | 1221 | | |
1212 | | - | |
| 1222 | + | |
1213 | 1223 | | |
1214 | 1224 | | |
1215 | 1225 | | |
| |||
1253 | 1263 | | |
1254 | 1264 | | |
1255 | 1265 | | |
1256 | | - | |
| 1266 | + | |
| 1267 | + | |
1257 | 1268 | | |
1258 | 1269 | | |
1259 | 1270 | | |
1260 | 1271 | | |
1261 | 1272 | | |
1262 | 1273 | | |
1263 | | - | |
| 1274 | + | |
1264 | 1275 | | |
1265 | 1276 | | |
1266 | 1277 | | |
1267 | 1278 | | |
1268 | 1279 | | |
1269 | | - | |
| 1280 | + | |
1270 | 1281 | | |
1271 | 1282 | | |
1272 | 1283 | | |
| |||
0 commit comments