Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[WebProfilerBundle] Replay referer URL#28936

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:masterfromro0NL:referer
Oct 21, 2018
Merged

[WebProfilerBundle] Replay referer URL#28936

fabpot merged 1 commit intosymfony:masterfromro0NL:referer
Oct 21, 2018

Conversation

@ro0NL
Copy link
Contributor

QA
Branch?master
Bug fix?no
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#26226
LicenseMIT
Doc PRsymfony/symfony-docs#...

For non GET/HEAD requests (e.g. POST) that have a referer URL; allow to replay it. And thereby fix the missing navigation piece to get back to your application.

Default

image

On hover

image

rvanlaak reacted with hooray emoji
@fabpot
Copy link
Member

Thank you@ro0NL.

@fabpotfabpot merged commit9020d49 intosymfony:masterOct 21, 2018
fabpot added a commit that referenced this pull requestOct 21, 2018
This PR was merged into the 4.2-dev branch.Discussion----------[WebProfilerBundle] Replay referer URL| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no     <!-- seehttps://symfony.com/bc -->| Deprecations? | no| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->| Fixed tickets |#26226| License       | MIT| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->For non GET/HEAD requests (e.g. POST) that have a referer URL; allow to replay it. And thereby fix the missing navigation piece to get back to your application.Default![image](https://user-images.githubusercontent.com/1047696/47259042-3c86ea80-d4a4-11e8-99f7-c3941beaa72c.png)On hover![image](https://user-images.githubusercontent.com/1047696/47259048-54f70500-d4a4-11e8-9e44-e20121f5b04f.png)Commits-------9020d49 [WebProfilerBundle] Replay referer URL
@ro0NLro0NL deleted the referer branchOctober 21, 2018 07:07
@ostrolucky
Copy link
Contributor

I really don't like "replay" terminology. It doesn't replay anything, it just goes to link.

@ro0NL
Copy link
ContributorAuthor

ro0NL commentedOct 21, 2018
edited
Loading

@ostrolucky it's not "just" a link, it's the referer; the origin of this profile. As we cant replicate the same profile (method is not "safe"), we - the user - "replay" it. That's my reasoning at least ;)

My original idea wasReplay _from_ referer URL, but i shortened it a bit.

Of course we can also simply label itBack to referer URL and be more straightforward about it.

@javiereguiluz thoughts?

@ostrolucky
Copy link
Contributor

Yes,go to referer URL orback to referer URL is much better

@fabpot
Copy link
Member

Actually, I agree with@ostrolucky "back to referer URL" sounds much better to me" and more accurate.

ro0NL reacted with thumbs up emoji

<ahref="{{profile.url }}">{{profile.url }}</a>
{%else %}
{{profile.url }}
{%setreferer= profile.collector('request').requestheaders.get('referer') %}
Copy link
Member

Choose a reason for hiding this comment

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

this code does not handle the case where therequest collector is not registered, while this case was handled previously (see the handling of status code)

ro0NL reacted with thumbs up emoji
nicolas-grekas added a commit that referenced this pull requestOct 23, 2018
This PR was squashed before being merged into the 4.2-dev branch (closes#28953).Discussion----------[WebProfilerBundle] Reword referer link| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | yes| New feature?  | no| BC breaks?    | no     <!-- seehttps://symfony.com/bc -->| Deprecations? | no| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->| Fixed tickets |#28936 (comment),#28936 (comment)| License       | MIT| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->![image](https://user-images.githubusercontent.com/1047696/47310273-e6967c00-d636-11e8-827a-72f8f4ca894b.png)Commits-------a5313ab [WebProfilerBundle] Reword referer link
@nicolas-grekasnicolas-grekas modified the milestones:next,4.2Nov 1, 2018
This was referencedNov 3, 2018
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof left review comments

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.2

Development

Successfully merging this pull request may close these issues.

6 participants

@ro0NL@fabpot@ostrolucky@stof@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp