Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Update aastocks.com.xml#15605

Merged
J0WI merged 8 commits intoEFForg:masterfrom
cschanaj:aastocks.com
Jun 17, 2018
Merged

Update aastocks.com.xml#15605
J0WI merged 8 commits intoEFForg:masterfrom
cschanaj:aastocks.com

Conversation

@cschanaj
Copy link
Copy Markdown
Collaborator

@cschanaj cschanaj commented Jun 3, 2018

Do not force HTTPS on the homepage as this break the "Real-time Latest Quote" functionality
@Hainish Hainish added the top-10k label Jun 3, 2018
@cschanaj cschanaj closed this Jun 3, 2018
@cschanaj cschanaj reopened this Jun 3, 2018
@cschanaj cschanaj closed this Jun 3, 2018
@cschanaj cschanaj reopened this Jun 3, 2018
@cschanaj cschanaj closed this Jun 3, 2018
@cschanaj cschanaj reopened this Jun 3, 2018
-->
<ruleset name="AASTOCKS.com (partial)">
<target host="www.aastocks.com" />
<exclusion pattern="^http://www\.aastocks\.com/(tc|sc|en)/$" />
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put all exclusions after a rule they apply to.

<target host="fctdata.aastocks.com" />
<target host="fpdata.aastocks.com" />
<target host="fxcharts.aastocks.com" />
<!-- target host="fpdata.aastocks.com" / -->
Copy link
Copy Markdown

@ghost ghost Jun 6, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simply remove the lines you commented out.

to="https://hkg3.aastocks.com/" />

<rule from="^http:"
to="https:" />
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep each rule as a single line.

@@ -143,5 +141,9 @@
<securecookie host="logon\.aastocks\.com" name=".+" />
<securecookie host="secure\.aastocks.com" name=".+" />
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<securecookie host="(logon|secure)\.aastocks.com" name=".+" />

@cschanaj
Copy link
Copy Markdown
Collaborator Author

cschanaj commented Jun 7, 2018

@YegorIevlev AFAIK, the current practice is to put the exclusion after the target it is applying. I also prefer simpler RegExp for readability and maintainability rather than combining them for minimal/ dubious performance gain.

@cschanaj cschanaj closed this Jun 9, 2018
@cschanaj cschanaj reopened this Jun 9, 2018
@cschanaj cschanaj closed this Jun 16, 2018
@cschanaj cschanaj reopened this Jun 16, 2018

<rule from="^http:" to="https:" />
<rule from="^http://hkg1?\.aastocks\.com/"
to="https://hkg3.aastocks.com/" />
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a test url for this?

<ruleset name="AASTOCKS.com (partial)">
<target host="www.aastocks.com" />
<exclusion pattern="^http://www\.aastocks\.com/(tc|sc|en)/$" />
<exclusion pattern="^http://www\.aastocks\.com/(tc|sc|en)/.+\.as[hp]x" />
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a hint about the issues there.

@J0WI J0WI merged commit e1d0ce7 into EFForg:master Jun 17, 2018
@cschanaj cschanaj deleted the aastocks.com branch June 18, 2018 05:19
J0WI pushed a commit that referenced this pull request Jun 21, 2018
* Update aastocks.com.xml, follow up #15605

* Update aastocks.com.xml

* Update aastocks.com.xml
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants