Skip to content

Commit

Permalink
域名验证
Browse files Browse the repository at this point in the history
  • Loading branch information
KirosHan committed Apr 28, 2018
1 parent 60df47c commit 726d771
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 3 deletions.
Binary file modified .vs/Numsieve/v14/.suo
Binary file not shown.
5 changes: 3 additions & 2 deletions Child/CaptureListFrm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,9 @@ private void AddList(List<LoadInfo> list)
if (checkBox1.Checked == true)
{
Regex rg = new Regex(@"num.10010.com"); //验证域名
if (rg.IsMatch(model.Url))
Regex rg = new Regex(@"num.10010.com/NumApp/NumberCenter"); //验证域名
Regex mobilerg = new Regex(@"m.10010.com/NumApp/NumberCenter"); //验证域名
if (rg.IsMatch(model.Url)|| mobilerg.IsMatch(model.Url))
{
Clipboard.SetText(model.Url);
MessageBox.Show("检测到可使用的URL并已复制到剪贴板:" + model.Url);
Expand Down
2 changes: 1 addition & 1 deletion Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified bin/x86/Debug/Numsieve.exe
Binary file not shown.
Binary file modified bin/x86/Debug/Numsieve.pdb
Binary file not shown.
4 changes: 4 additions & 0 deletions bin/x86/Debug/debug.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[0428/140256:ERROR:response_filter_wrapper.cc(48)] potential buffer overflow; data_out_write exceeds data_out_size
[0428/140512:ERROR:response_filter_wrapper.cc(48)] potential buffer overflow; data_out_write exceeds data_out_size
[0428/140557:ERROR:response_filter_wrapper.cc(48)] potential buffer overflow; data_out_write exceeds data_out_size
[0428/140616:ERROR:response_filter_wrapper.cc(48)] potential buffer overflow; data_out_write exceeds data_out_size
1 change: 1 addition & 0 deletions obj/x86/Debug/Numsieve.csproj.FileListAbsolute.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ C:\Users\mcc\Desktop\numsieve\obj\x86\Debug\Numsieve.csproj.GenerateResource.Cac
C:\Users\mcc\Desktop\numsieve\obj\x86\Debug\Numsieve.exe
C:\Users\mcc\Desktop\numsieve\obj\x86\Debug\Numsieve.pdb
C:\Users\mcc\Desktop\numsieve\obj\x86\Debug\Numsieve.spec.resources
C:\Users\mcc\Desktop\numsieve\obj\x86\Debug\Numsieve.csprojResolveAssemblyReference.cache
Binary file modified obj/x86/Debug/Numsieve.csproj.GenerateResource.Cache
Binary file not shown.
Binary file not shown.
Binary file modified obj/x86/Debug/Numsieve.exe
Binary file not shown.
Binary file modified obj/x86/Debug/Numsieve.pdb
Binary file not shown.

0 comments on commit 726d771

Please sign in to comment.