trustroot.txt 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. ========================================
  2. Trust root parsing checking
  3. ========================================
  4. ----------------------------------------
  5. 20: Does not parse
  6. ----------------------------------------
  7. baz.org
  8. *.foo.com
  9. http://*.schtuff.*/
  10. ftp://foo.com
  11. ftp://*.foo.com
  12. http://*.foo.com:80:90/
  13. foo.*.com
  14. http://foo.*.com
  15. http://www.*
  16. http://*foo.com/
  17. http://foo.com\/
  18. http://localhost:1900foo/
  19. http://foo.com/invalid#fragment
  20. http://π.pi.com/
  21. http://lambda.com/Λ
  22. 5
  23. http:///
  24. ----------------------------------------
  25. 15: Insane
  26. ----------------------------------------
  27. http://*/
  28. https://*/
  29. http://*.com
  30. http://*.com/
  31. https://*.com/
  32. http://*.com.au/
  33. http://*.co.uk/
  34. http://*.foo.notatld/
  35. https://*.foo.notatld/
  36. http://*.museum/
  37. https://*.museum/
  38. http://www.schtuffcom/
  39. http://it/
  40. http://..it/
  41. http://.it/
  42. ----------------------------------------
  43. 18: Sane
  44. ----------------------------------------
  45. http://*.schtuff.com./
  46. http://*.schtuff.com/
  47. http://*.foo.schtuff.com/
  48. http://*.schtuff.com
  49. http://www.schtuff.com/
  50. http://www.schtuff.com./
  51. http://www.schutff.com
  52. http://*.this.that.schtuff.com/
  53. http://*.foo.com/path
  54. http://*.foo.com/path?action=foo2
  55. http://x.foo.com/path?action=foo2
  56. http://x.foo.com/path?action=%3D
  57. http://localhost:8081/
  58. http://localhost:8082/?action=openid
  59. https://foo.com/
  60. http://kink.fm/should/be/sane
  61. http://beta.lingu.no/
  62. http://goathack.livejournal.org:8020/openid/login.bml
  63. ========================================
  64. return_to matching
  65. ========================================
  66. ----------------------------------------
  67. 45: matches
  68. ----------------------------------------
  69. http://foo.com/ HTTP://foo.com/
  70. http://*/ http://cnn.com/
  71. http://*/ http://livejournal.com/
  72. http://*/ http://met.museum/
  73. http://*:8081/ http://met.museum:8081/
  74. http://localhost:8081/x?action=openid http://localhost:8081/x?action=openid
  75. http://*.foo.com http://b.foo.com
  76. http://*.foo.com http://b.foo.com/
  77. http://*.foo.com/ http://b.foo.com
  78. http://b.foo.com http://b.foo.com
  79. http://b.foo.com http://b.foo.com/
  80. http://b.foo.com/ http://b.foo.com
  81. http://*.b.foo.com http://b.foo.com
  82. http://*.b.foo.com http://b.foo.com/
  83. http://*.b.foo.com/ http://b.foo.com
  84. http://*.b.foo.com http://x.b.foo.com
  85. http://*.b.foo.com http://w.x.b.foo.com
  86. http://*.bar.co.uk http://www.bar.co.uk
  87. http://*.uoregon.edu http://x.cs.uoregon.edu
  88. http://x.com/abc http://x.com/abc
  89. http://127.1/abc http://127.1/abc
  90. http://10.0.0.1/abc http://10.0.0.1/abc
  91. http://x.com/abc http://x.com/abc/def
  92. http://*.x.com http://x.com/gallery
  93. http://*.x.com http://foo.x.com/gallery
  94. http://foo.x.com http://foo.x.com/gallery/xxx
  95. http://*.x.com/gallery http://foo.x.com/gallery
  96. http://localhost:8082/?action=openid http://localhost:8082/?action=openid
  97. http://goathack.livejournal.org:8020/ http://goathack.livejournal.org:8020/openid/login.bml
  98. https://foo.com https://foo.com
  99. http://Foo.com http://foo.com
  100. http://foo.com http://Foo.com
  101. http://foo.com:80/ http://foo.com/
  102. http://foo.com/?x=y http://foo.com/?x=y&a=b
  103. http://foo.com/x http://foo.com/x?y
  104. http://mylid.net/j3h. http://mylid.net/j3h.?x=y
  105. http://j3h.us http://j3h.us?ride=unicycle
  106. https://www.filmclans.com:443/mattmartin/FilmClans https://www.filmclans.com/mattmartin/FilmClans/Logon.aspx?nonce=BVjqSOee
  107. http://foo.com:80 http://foo.com
  108. http://foo.com http://foo.com:80
  109. http://foo.com http://foo.com/
  110. http://foo.com/ http://foo.com
  111. http://foo.com/ http://foo.com:80
  112. http://foo.com:80/ http://foo.com:80/stuff
  113. http://foo.com:80/ http://foo.com/stuff
  114. ----------------------------------------
  115. 24: does not match
  116. ----------------------------------------
  117. http://*/ ftp://foo.com/
  118. http://*/ xxx
  119. http://*.x.com/abc http://foo.x.com
  120. http://*.x.com/abc http://*.x.com
  121. http://*.com/ http://*.com/
  122. http://x.com/abc http://x.com/
  123. http://x.com/abc http://x.com/a
  124. http://x.com/abc http://x.com/ab
  125. http://x.com/abc http://x.com/abcd
  126. http://*.cs.uoregon.edu http://x.uoregon.edu
  127. http://*.foo.com http://bar.com
  128. http://*.foo.com http://www.bar.com
  129. http://*.bar.co.uk http://xxx.co.uk
  130. https://foo.com http://foo.com
  131. http://foo.com https://foo.com
  132. http://foo.com:81 http://foo.com:80
  133. http://*:80 http://foo.com:81
  134. http://foo.com/?a=b http://foo.com/?x=y
  135. http://foo.com/?a=b http://foo.com/?x=y&a=b
  136. http://foo.com/?a=b http://foo.com/
  137. http://*.oo.com/ http://foo.com/
  138. http://foo.com/* http://foo.com/anything
  139. http://foo.com http://foo.com:443
  140. https://foo.com https://foo.com:80